Skip to content

Commit

Permalink
cut size
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Oct 23, 2022
1 parent 5b81d37 commit 099640a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 22 deletions.
4 changes: 2 additions & 2 deletions builds/auto_upx.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cd Release
upx --ultra-brute --no-align --best --compress-resources=1 ghost_installer.exe
rename ghost_installer.exe Taromati2_Installer.exe
strip ghost_installer.exe -s -x -X -M -o Taromati2_Installer.exe
upx --ultra-brute --no-align --best --compress-resources=1 Taromati2_Installer.exe
cd ..
5 changes: 5 additions & 0 deletions ghost_installer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>.\builds\$(Configuration)\</OutDir>
<IntDir>.\builds\$(Configuration)\temp\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>.\builds\$(Configuration)\</OutDir>
Expand Down Expand Up @@ -134,6 +135,10 @@
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<StringPooling>true</StringPooling>
<Optimization>MaxSpeed</Optimization>
<OmitFramePointers>true</OmitFramePointers>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<BufferSecurityCheck>false</BufferSecurityCheck>
<AdditionalOptions>/Gw %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
1 change: 1 addition & 0 deletions src/guardcfw.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#pragma once
21 changes: 1 addition & 20 deletions src/resource/ghost_installer.rc
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ BEGIN
VALUE "CompanyName", "E.tek"
VALUE "FileDescription", "Taromati2 Installer"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "ghost_installer"
VALUE "LegalCopyright", "Copyright (C) 2022"
VALUE "OriginalFilename", "ghost_installer.exe"
VALUE "ProductName", "Taromati2"
VALUE "ProductVersion", "1.0.0.0"
END
Expand Down Expand Up @@ -69,7 +67,7 @@ IDD_DOWNLOADING DIALOGEX 0, 0, 158, 52
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
LTEXT "所需文件下载中",IDC_STATIC,47,22,63,8
CTEXT "所需文件下载中",IDC_STATIC,47,22,63,8
END


Expand Down Expand Up @@ -99,23 +97,6 @@ BEGIN
END
#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//

IDD_INSTALLATION_PATH_SELECTION AFX_DIALOG_LAYOUT
BEGIN
0
END

IDD_DOWNLOADING AFX_DIALOG_LAYOUT
BEGIN
0
END


/////////////////////////////////////////////////////////////////////////////
//
// Icon
Expand Down

0 comments on commit 099640a

Please sign in to comment.