buildpy2exe: fix path for resources

This commit is contained in:
Alberto Sottile 2019-03-11 19:25:58 +01:00
parent d81100a2e2
commit f6048566ed
2 changed files with 4 additions and 3 deletions

View File

@ -33,6 +33,7 @@ install:
- for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a
- python buildPy2exe.py
- type nul > syncplay_v%ver%\syncplay.ini
- move Syncplay-%ver%-Setup.exe Syncplay-%ver%-setuptools-Setup.exe
# Not a project with an msbuild file, build done at install.
build: off
@ -42,7 +43,7 @@ artifacts:
type: zip
name: Syncplay_$(ver)_setuptools_Portable
- path: Syncplay-$(ver)-Setup.exe
- path: Syncplay-$(ver)-setuptools-Setup.exe
name: Syncplay-$(ver)-setuptools-Setup
# Push artefact to S3 bucket and list all

View File

@ -71,7 +71,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
RequestExecutionLevel admin
ManifestDPIAware false
XPStyle on
Icon resources\icon.ico ;Change DIR
Icon syncplay\resources\icon.ico ;Change DIR
SetCompressor /SOLID lzma
VIProductVersion "$version.0"
@ -157,7 +157,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
LangString ^ClickInstall $${LANG_GERMAN} " "
PageEx license
LicenseData resources\license.rtf
LicenseData syncplay\resources\license.rtf
PageExEnd
Page custom DirectoryCustom DirectoryCustomLeave
Page instFiles