-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added upx compression to reduce filesizes
- Loading branch information
1 parent
e87fc5e
commit f0bf1ea
Showing
5 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#define VERSION 1,7,0,97 | ||
#define VERSION_STR "1.7.0.97" | ||
#define VERSION 1,7,0,98 | ||
#define VERSION_STR "1.7.0.98" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@echo off | ||
pushd %~dp0 | ||
|
||
setlocal | ||
|
||
if [%1] == [] ( | ||
echo Usage: createzip ^<binary path^> | ||
goto exit | ||
) | ||
|
||
set bin_dir=%1 | ||
|
||
:: paths can be absolute or relative to the location of this batch file | ||
set zip_bin=.\zip.exe | ||
set upx_bin=.\upx.exe | ||
|
||
if not exist %zip_bin% ( | ||
echo %zip_bin% does not exist, zipfile creation skipped | ||
goto exit | ||
) | ||
|
||
if not exist %upx_bin% ( | ||
echo %upx_bin% does not exist, exe compression skipped | ||
goto zip | ||
) | ||
|
||
:: UPX compresses executables in place about 40%, has no decompressing memory overhead and is extremely fast | ||
%upx_bin% %bin_dir%\DebugView++.exe | ||
%upx_bin% %bin_dir%\DebugViewConsole.exe | ||
|
||
:zip | ||
%zip_bin% -j %bin_dir%\DebugView++.zip %bin_dir%\DebugView++.exe %bin_dir%\DebugViewConsole.exe %bin_dir%\*.vsix | ||
|
||
:exit |