Disable --onefile and change packed dir name
This commit is contained in:
parent
7df01104bf
commit
c4e912a2d5
@ -21,10 +21,10 @@ init:
|
||||
install:
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
- for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a
|
||||
- pyinstaller pyinstaller-onefile.spec
|
||||
- move dist\Syncplay.exe Syncplay-%ver%-win-Py35-PySide2.exe
|
||||
- del build /s /Q
|
||||
- del dist /s /Q
|
||||
#- pyinstaller pyinstaller-onefile.spec
|
||||
#- move dist\Syncplay.exe Syncplay-%ver%-win-Py35-PySide2.exe
|
||||
#- del build /s /Q
|
||||
#- del dist /s /Q
|
||||
- pyinstaller pyinstaller-onedir.spec
|
||||
- cd dist
|
||||
- python buildInstaller.py
|
||||
|
||||
@ -41,7 +41,7 @@ def get_nsis_path():
|
||||
return bin_name
|
||||
NSIS_COMPILE = get_nsis_path()
|
||||
|
||||
OUT_DIR = "syncplay_v{}".format(syncplay.version)
|
||||
OUT_DIR = "Syncplay"
|
||||
SETUP_SCRIPT_PATH = "syncplay_setup.nsi"
|
||||
NSIS_SCRIPT_TEMPLATE = r"""
|
||||
!include LogicLib.nsh
|
||||
|
||||
@ -3,8 +3,6 @@
|
||||
import os
|
||||
workdir = os.getcwd()
|
||||
|
||||
import syncplay
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
@ -36,4 +34,4 @@ coll = COLLECT(exe,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
name="syncplay_v{}".format(syncplay.version))
|
||||
name="Syncplay")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user