Permalink
Browse files

Make Windows packaging work with MinGW. Add blobs section to win32 fo…

…lder to store files that should be packaged alongside the executable .
  • Loading branch information...
NewCreature committed Aug 29, 2017
1 parent 2acff7e commit 5b6b190cf6af55b29d73a25eebe6ff464e9b411e
Showing with 5 additions and 1 deletion.
  1. +1 −1 src/Makefile
  2. +4 −0 src/makefile.mingw
  3. BIN win32/blobs/UnRAR.exe
View
@@ -49,7 +49,7 @@ android_sign:
$(MAKE) -f makefile.android android_sign
windows_package:
$(MAKE) -f makefile.mingw_cross windows_zip
$(MAKE) -f makefile.mingw windows_zip
mac_package:
$(MAKE) -f makefile.macosx mac_package
View
@@ -18,3 +18,7 @@ include makefile.common
icon.o : ../icons/windows_icon.ico ../win32/icon.rc
windres --include-dir=../icons -o icon.o ../win32/icon.rc
windows_zip: $(APP_EXE_NAME)
cd ../bin && zip -9 -r $(APP_PACKAGE_DIR)/$(APP_NAME)-$(APP_VERSION)-windows.zip * && cd ../win32/blobs && zip -9 ../$(APP_PACKAGE_DIR)/$(APP_NAME)-$(APP_VERSION)-windows.zip * && cd ../.. && md win32\\docs && xcopy docs win32\\docs /E && cd win32/docs && rename changelog history.txt && rename README readme.txt && rename copyright license.txt && cd .. && zip -9 -r $(APP_PACKAGE_DIR)/$(APP_NAME)-$(APP_VERSION)-windows.zip docs && rmdir /S /Q docs
@echo Windows package created!
View
BIN +361 KB win32/blobs/UnRAR.exe
Binary file not shown.

0 comments on commit 5b6b190

Please sign in to comment.