Merge branch 'gui-improvements-update' into ci-dev
This commit is contained in:
@@ -3,8 +3,10 @@ import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
# Destination is current dir
|
||||
DEST_DIRECTORY = '.'
|
||||
|
||||
# Check for UPX
|
||||
if os.path.isdir("upx"):
|
||||
upx_string = "--upx-dir=upx"
|
||||
else:
|
||||
@@ -13,6 +15,7 @@ else:
|
||||
if os.path.isdir("build") and not sys.platform.find("mac") and not sys.platform.find("osx"):
|
||||
shutil.rmtree("build")
|
||||
|
||||
# Run pyinstaller for Gui
|
||||
subprocess.run(" ".join(["pyinstaller Gui.spec ",
|
||||
upx_string,
|
||||
"-y ",
|
||||
|
||||
Reference in New Issue
Block a user