Skip to content

Commit

Permalink
v1.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Oct 21, 2022
1 parent 251505d commit 28f8bdc
Show file tree
Hide file tree
Showing 13 changed files with 203 additions and 195 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.vs/
ghost_installer.vcxproj.user
src/resource/ghost_installer.aps
src/resource/RC*
4 changes: 4 additions & 0 deletions builds/auto_upx.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cd Release
upx --ultra-brute --no-align --best --compress-resources=1 ghost_installer.exe
rename ghost_installer.exe Taromati2_Installer.exe
cd ..
6 changes: 0 additions & 6 deletions ghost_installer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ghost_installer", "ghost_in
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Debug|x64.ActiveCfg = Debug|x64
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Debug|x64.Build.0 = Debug|x64
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Debug|x86.ActiveCfg = Debug|Win32
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Debug|x86.Build.0 = Debug|Win32
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Release|x64.ActiveCfg = Release|x64
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Release|x64.Build.0 = Release|x64
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Release|x86.ActiveCfg = Release|Win32
{C89F04AF-0793-410D-BA2F-10E7042ACD86}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
Expand Down
17 changes: 13 additions & 4 deletions ghost_installer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\download_temp_file.cpp" />
<ClCompile Include="src\ghost_installer.cpp" />
<ClCompile Include="src\_gists.cpp" />
<ClCompile Include="src\_gists.cpp">
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/await %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/await %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/await %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/await %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\ghost_installer.hpp" />
Expand All @@ -30,6 +34,9 @@
<ItemGroup>
<ResourceCompile Include="src\resource\ghost_installer.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="src\resource\kikka.ico" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
Expand Down Expand Up @@ -126,12 +133,13 @@
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<StringPooling>true</StringPooling>
<Optimization>MaxSpeed</Optimization>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<GenerateDebugInformation>false</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
</Link>
</ItemDefinitionGroup>
Expand Down Expand Up @@ -163,12 +171,13 @@
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<StringPooling>true</StringPooling>
<Optimization>MaxSpeed</Optimization>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<GenerateDebugInformation>false</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
</Link>
</ItemDefinitionGroup>
Expand Down
6 changes: 3 additions & 3 deletions ghost_installer.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
<ClCompile Include="src\ghost_installer.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="src\download_temp_file.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="src\_gists.cpp">
<Filter>源文件</Filter>
</ClCompile>
Expand All @@ -37,4 +34,7 @@
<Filter>资源文件</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="src\resource\kikka.ico" />
</ItemGroup>
</Project>
11 changes: 10 additions & 1 deletion src/_gists.cpp
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
#include "my-gists/ukagaka/SSP_Runner.cpp"
#include "my-gists/windows/LoadStringFromResource.cpp"
#include "my-gists/windows/WaitForXObjectWithMessageLoop.cpp"
#include "my-gists/windows/download_file.cpp"
#include "my-gists/windows/IsNetworkHasCost.cpp"

const wchar_t* NetAgentName() {
return L"ghost_installer";
}
const wchar_t* temp_filename_gen_header() {
return L"ghi";
}
55 changes: 0 additions & 55 deletions src/download_temp_file.cpp

This file was deleted.

Loading

0 comments on commit 28f8bdc

Please sign in to comment.