Skip to content

Commit

Permalink
Licnese_Change
Browse files Browse the repository at this point in the history
1.net平台由X64_4.5.1改为X86_4.0
2.删除无用组件
3.首次使用拥有所有权功能权限LV.5
4.最低系统兼容XPSP3
5.请自行安装Microsoft .NET Framework 4.0(X86)
  • Loading branch information
zuoyuanchun committed Sep 17, 2022
1 parent 27ff9d9 commit e018ce4
Show file tree
Hide file tree
Showing 20 changed files with 117 additions and 129 deletions.
2 changes: 1 addition & 1 deletion 火拼俄罗斯刷分插件生成器/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<configuration>
<startup>

<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/></startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
</configuration>
2 changes: 1 addition & 1 deletion 火拼俄罗斯刷分插件生成器/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void CheckKey()
}
if (!reg.IsRegistryValueNameExist(Data.reg授权码))
{
reg.SetValue(Data.reg授权码, "0");
reg.SetValue(Data.reg授权码, "1177161017");
}
if (!reg.IsRegistryValueNameExist(Data.reg游戏路径))
{
Expand Down
19 changes: 0 additions & 19 deletions 火拼俄罗斯刷分插件生成器/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,7 @@ static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
DllClass.LoadResourceDll();//引用的dll嵌入到exe文件需加上这行代码
Application.Run(new Main());
}
}
class DllClass
{
public static void LoadResourceDll()
{
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);
}

private static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
string dllName = args.Name.Contains(",") ? args.Name.Substring(0, args.Name.IndexOf(',')) : args.Name.Replace(".dll", "");
dllName = dllName.Replace(".", "_");
if (dllName.EndsWith("_resources")) return null;
string Namespace = Assembly.GetEntryAssembly().GetTypes()[0].Namespace;
System.Resources.ResourceManager rm = new System.Resources.ResourceManager(Namespace + ".Properties.Resources", System.Reflection.Assembly.GetExecutingAssembly());
byte[] bytes = (byte[])rm.GetObject(dllName);
return System.Reflection.Assembly.Load(bytes);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions 火拼俄罗斯刷分插件生成器/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,9 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="AxInterop_WMPLib" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AxInterop.WMPLib.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="Interop_WMPLib" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Interop.WMPLib.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="LoliCore32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LoliCore32.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="System" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\system.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="System_Drawing" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\system.drawing.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="System_Windows_Forms" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\system.windows.forms.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="TData" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\TData;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="火拼俄罗斯刷分插件生成器.application" version="1.0.0.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="Microsoft" asmv2:product="火拼俄罗斯刷分插件生成器" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" />
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.0" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="火拼俄罗斯刷分插件生成器.exe.manifest" size="4007">
<assemblyIdentity name="火拼俄罗斯刷分插件生成器.exe" version="1.0.0.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>iDGRDK2Jrva6KwiQXFteIy3XaPQ=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
</asmv1:assembly>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
D:\VS2013\Liscense\火拼俄罗斯刷分\火拼俄罗斯刷分插件生成器.exe.config
D:\VS2013\Liscense\火拼俄罗斯刷分\火拼俄罗斯刷分插件生成器.exe.manifest
D:\VS2013\Liscense\火拼俄罗斯刷分\火拼俄罗斯刷分插件生成器.application
D:\VS2013\Liscense\火拼俄罗斯刷分\火拼俄罗斯刷分插件生成器.exe
D:\VS2013\Liscense\火拼俄罗斯刷分\火拼俄罗斯刷分插件生成器.pdb
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\QQGameTool.Main.resources
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\QQGameTool.Properties.Resources.resources
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\火拼俄罗斯刷分插件生成器.csproj.GenerateResource.Cache
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\火拼俄罗斯刷分插件生成器.exe.manifest
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\火拼俄罗斯刷分插件生成器.application
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\火拼俄罗斯刷分插件生成器.exe
D:\VS2013\GitHub\TetrisPlugin_For_QQGame\火拼俄罗斯刷分插件生成器\obj\Release\火拼俄罗斯刷分插件生成器.pdb
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="火拼俄罗斯刷分插件生成器.exe" version="1.0.0.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" />
<description asmv2:iconFile="icon.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="火拼俄罗斯刷分插件生成器" version="1.1.0.0" language="neutral" processorArchitecture="x86" />
<commandLine file="火拼俄罗斯刷分插件生成器.exe" parameters="" />
</entryPoint>
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!--
UAC 清单选项
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
如果要利用文件和注册表虚拟化提供
向后兼容性,请删除 requestedExecutionLevel 节点。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="火拼俄罗斯刷分插件生成器.exe" size="540160">
<assemblyIdentity name="火拼俄罗斯刷分插件生成器" version="1.1.0.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>tXluzqP1I+SxS/o3wmaYiaVQ4bQ=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<file name="icon.ico" size="7718">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>WB/5yJ9rjJPRp1FMhISULeenDOc=</dsig:DigestValue>
</hash>
</file>
<file name="火拼俄罗斯刷分插件生成器.exe.config" size="184">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>V4WyfI7Afij77ZC4Fb71+C3XBqM=</dsig:DigestValue>
</hash>
</file>
</asmv1:assembly>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>QQGameTool</RootNamespace>
<AssemblyName>火拼俄罗斯刷分插件生成器</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<IsWebBootstrapper>false</IsWebBootstrapper>
Expand Down Expand Up @@ -42,7 +42,7 @@
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\Liscense\火拼俄罗斯刷分\</OutputPath>
Expand Down Expand Up @@ -89,6 +89,7 @@
<Compile Include="Data.cs" />
<EmbeddedResource Include="Main.resx">
<DependentUpon>Main.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
Expand Down Expand Up @@ -124,16 +125,6 @@
<Content Include="icon.ico" />
</ItemGroup>
<ItemGroup>
<PublishFile Include="AxInterop.WMPLib">
<Visible>False</Visible>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="icon.ico">
<Visible>False</Visible>
<Group>
Expand All @@ -144,43 +135,16 @@
<IncludeHash>True</IncludeHash>
<FileType>File</FileType>
</PublishFile>
<PublishFile Include="Interop.WMPLib">
<Visible>False</Visible>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
</ItemGroup>
<ItemGroup>
<Reference Include="AxInterop.WMPLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Resources\AxInterop.WMPLib.dll</HintPath>
<Reference Include="System">
<Private>False</Private>
<EmbedInteropTypes>False</EmbedInteropTypes>
</Reference>
<Reference Include="Interop.WMPLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<EmbedInteropTypes>False</EmbedInteropTypes>
<HintPath>Resources\Interop.WMPLib.dll</HintPath>
<Reference Include="System.Drawing">
<Private>False</Private>
</Reference>
<Reference Include="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>Resources\System.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Resources\System.Drawing.dll</HintPath>
<EmbedInteropTypes>False</EmbedInteropTypes>
</Reference>
<Reference Include="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Resources\System.Windows.Forms.dll</HintPath>
<EmbedInteropTypes>False</EmbedInteropTypes>
<Reference Include="System.Windows.Forms">
<Private>False</Private>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
Binary file not shown.

0 comments on commit e018ce4

Please sign in to comment.