From f3c6fca38642de0f54338fa6e175c1798d18a834 Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Sat, 20 Dec 2014 09:33:38 +1300 Subject: [PATCH] Fixed copying files issues with build scripts. --- build_mac.bash | 2 ++ build_windows.bat | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build_mac.bash b/build_mac.bash index 9393e84..524538b 100755 --- a/build_mac.bash +++ b/build_mac.bash @@ -39,4 +39,6 @@ install_name_tool -change /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Versio install_name_tool -change /usr/local/lib/libjpeg.8.dylib @executable_path/libjpeg.8.dylib Web2Executable.app/Contents/MacOS/PIL._imaging.so +rm -rf command_line_builds/files pyinstaller --hidden-import configobj --distpath command_line_builds --onefile -n web2exe command_line.py +cp -rf files command_line_builds/files/ diff --git a/build_windows.bat b/build_windows.bat index 9a13c97..15a9d3b 100644 --- a/build_windows.bat +++ b/build_windows.bat @@ -1,6 +1,7 @@ rd /S /Q Web2ExeWin call pyinstaller --onefile --hidden-import configobj --distpath command_line_builds -n web2exe command_line.py -echo D | xcopy /s files output\files +rd /S /Q command_line_builds\files +echo D | xcopy /s files command_line_builds\files call cxfreeze.bat main.py --target-dir=Web2ExeWin --base-name=Win32GUI echo D | xcopy /s files Web2ExeWin\files