[+] 支持 Weixin 4.0
This commit is contained in:
1
RevokeMsgPatcher.Assistant/Data/2.0/patch.json
Normal file
1
RevokeMsgPatcher.Assistant/Data/2.0/patch.json
Normal file
File diff suppressed because one or more lines are too long
@@ -16,8 +16,8 @@ namespace RevokeMsgPatcher
|
||||
return new Bag
|
||||
{
|
||||
Apps = AppConfig(),
|
||||
LatestVersion = "1.9",
|
||||
PatchVersion = 20240929,
|
||||
LatestVersion = "2.0",
|
||||
PatchVersion = 20241106,
|
||||
Notice = "",
|
||||
NoticeUrl = "",
|
||||
};
|
||||
@@ -34,6 +34,7 @@ namespace RevokeMsgPatcher
|
||||
return new Dictionary<string, App>
|
||||
{
|
||||
{ "Wechat" , Wechat() },
|
||||
{ "Weixin" , Weixin() },
|
||||
{ "QQ" , QQ() },
|
||||
{ "TIM" , TIM() },
|
||||
{ "QQLite" , QQLite() },
|
||||
@@ -1389,5 +1390,49 @@ namespace RevokeMsgPatcher
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public App Weixin()
|
||||
{
|
||||
return new App
|
||||
{
|
||||
Name = "Weixin",
|
||||
FileTargetInfos = new Dictionary<string, TargetInfo>
|
||||
{
|
||||
{
|
||||
"Weixin.dll",
|
||||
new TargetInfo
|
||||
{
|
||||
Name = "Weixin.dll",
|
||||
RelativePath = "Weixin.dll",
|
||||
StartVersion = "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
FileCommonModifyInfos = new Dictionary<string, List<CommonModifyInfo>>
|
||||
{
|
||||
{
|
||||
"Weixin.dll",
|
||||
new List<CommonModifyInfo>
|
||||
{
|
||||
new CommonModifyInfo
|
||||
{
|
||||
Name="Weixin.dll",
|
||||
StartVersion="4.0.0.0",
|
||||
EndVersion="",
|
||||
ReplacePatterns = new List<ReplacePattern>
|
||||
{
|
||||
new ReplacePattern
|
||||
{
|
||||
Search = ByteUtil.HexStringToByteArray("57 53 48 83 EC 20 48 89 CE 80 3D D1 F7 DC 05 00 75 21 48 B8"),
|
||||
Replace = ByteUtil.HexStringToByteArray("57 53 48 83 EC 20 48 89 CE 80 3D D1 F7 DC 05 00 EB 21 48 B8"),
|
||||
Category = "防撤回"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,6 +97,7 @@
|
||||
<None Include="Data\1.7\patch.json" />
|
||||
<None Include="Data\1.8\patch.json" />
|
||||
<None Include="Data\1.9\patch.json" />
|
||||
<None Include="Data\2.0\patch.json" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
|
||||
Reference in New Issue
Block a user