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