Skip to content

Commit

Permalink
update .gitignore; display Debug/Release in --help; rename dist packa…
Browse files Browse the repository at this point in the history
…ge zip
  • Loading branch information
shunf4 committed Feb 23, 2020
1 parent 218411f commit 5248f1e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,5 @@ cygwin-build/**/*.lib
cygwin-build/**/MAKING_*
cygwin-build/**/distx*
cygwin-build/**/*.stackdump
win32_output/
win32_output/
include/function_pointers_configured.h
6 changes: 3 additions & 3 deletions cygwin-build/dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ fi
echo Distributing "$PXCH_VERSION"...

cmd /c dist.bat
zip -j ../../proxychains_"$PXCH_VERSION"_win32_x64d.zip ../COPYING ../README*.md ../proxychains.conf ../win32_output/proxychains_x64d.exe ../win32_output/proxychains_hook_x64d.dll ../win32_output/proxychains_hook_x86d.dll ../win32_output/proxychains_remote_function_x64d.bin ../win32_output/proxychains_remote_function_x86d.bin
zip -j ../../proxychains_"$PXCH_VERSION"_win32_x64_debug.zip ../COPYING ../README*.md ../proxychains.conf ../win32_output/proxychains_x64d.exe ../win32_output/proxychains_hook_x64d.dll ../win32_output/proxychains_hook_x86d.dll ../win32_output/proxychains_remote_function_x64d.bin ../win32_output/proxychains_remote_function_x86d.bin
zip -j ../../proxychains_"$PXCH_VERSION"_win32_x64.zip ../COPYING ../README*.md ../proxychains.conf ../win32_output/proxychains_x64.exe ../win32_output/proxychains_hook_x64.dll ../win32_output/proxychains_hook_x86.dll ../win32_output/proxychains_remote_function_x64.bin ../win32_output/proxychains_remote_function_x86.bin
zip -j ../../proxychains_"$PXCH_VERSION"_win32_x86d.zip ../COPYING ../README*.md ../proxychains.conf ../win32_output/proxychains_x86d.exe ../win32_output/proxychains_hook_x86d.dll ../win32_output/proxychains_remote_function_x86d.bin
zip -j ../../proxychains_"$PXCH_VERSION"_win32_x86_debug.zip ../COPYING ../README*.md ../proxychains.conf ../win32_output/proxychains_x86d.exe ../win32_output/proxychains_hook_x86d.dll ../win32_output/proxychains_remote_function_x86d.bin
zip -j ../../proxychains_"$PXCH_VERSION"_win32_x86.zip ../COPYING ../README*.md ../proxychains.conf ../win32_output/proxychains_x86.exe ../win32_output/proxychains_hook_x86.dll ../win32_output/proxychains_remote_function_x86.bin

make release
Expand All @@ -47,7 +47,7 @@ if [ "$1" = "--install" ]; then
cp cygproxychains_hook_x64d.dll /bin/
cp proxychains_remote_function_*.bin /bin/
fi
zip -j ../../proxychains_"$PXCH_VERSION"_cygwin_x64d.zip ../COPYING ../README*.md ../proxychains.conf proxychains_x64d.exe cygproxychains_hook_x64d.dll proxychains_remote_function_x64d.bin
zip -j ../../proxychains_"$PXCH_VERSION"_cygwin_x64_debug.zip ../COPYING ../README*.md ../proxychains.conf proxychains_x64d.exe cygproxychains_hook_x64d.dll proxychains_remote_function_x64d.bin

if [ "$1" = "--install" ]; then
cmd /c windows_install.bat
Expand Down
6 changes: 0 additions & 6 deletions include/function_pointers_configured.h

This file was deleted.

6 changes: 6 additions & 0 deletions src/exe/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ void PrintUsage(const WCHAR* szArgv0, BOOL bError)
L"64-bit"
#else
L"32-bit"
#endif
L" "
#if defined(DEBUG)
L"Debug"
#else
L"Release"
#endif
L" %u.%u.%u - proxifier for Win32 and Cygwin.\n"
L"\n"
Expand Down

0 comments on commit 5248f1e

Please sign in to comment.