Skip to content

Commit 0c43be0

Browse files
committed
Fix build scripts with newest changes
1 parent c0caea5 commit 0c43be0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

scripts/Web2Exe.nsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
; HM NIS Edit Wizard helper defines
44
!define PRODUCT_NAME "Web2Exe"
5-
!define /file PRODUCT_VERSION "files\version.txt"
5+
!define /file PRODUCT_VERSION "..\files\version.txt"
66
!define PRODUCT_PUBLISHER "SimplyPixelated"
77
!define PRODUCT_WEB_SITE "http://www.simplypixelated.com"
88
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${PRODUCT_NAME}.exe"
@@ -23,7 +23,7 @@ SetCompressor lzma
2323
; Welcome page
2424
!insertmacro MUI_PAGE_WELCOME
2525
; License page
26-
!insertmacro MUI_PAGE_LICENSE "license.rtf"
26+
!insertmacro MUI_PAGE_LICENSE "..\license.rtf"
2727
; Components page
2828
!insertmacro MUI_PAGE_COMPONENTS
2929
; Directory page
@@ -53,7 +53,7 @@ var ICONS_GROUP
5353
; MUI end ------
5454

5555
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
56-
OutFile "Web2Exe-Setup.exe"
56+
OutFile "..\Web2Exe-Setup.exe"
5757

5858
RequestExecutionLevel admin ;Require admin rights on NT6+ (When UAC is turned on)
5959

@@ -78,11 +78,11 @@ Section "Web2Executable" SEC01
7878
SectionIn RO
7979
SetOutPath "$INSTDIR"
8080
SetOverwrite try
81-
File /r /x compressors "Web2ExeWin\"
81+
File /r /x compressors "..\Web2ExeWin\"
8282

8383
CreateDirectory "$LocalAppData\Web2Executable\Web2Executable\files\compressors"
8484
SetOutPath "$LocalAppData\Web2Executable\Web2Executable\files\compressors"
85-
File "Web2ExeWin\files\compressors\upx-win.exe"
85+
File "..\Web2ExeWin\files\compressors\upx-win.exe"
8686

8787
; Shortcuts
8888
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application

scripts/build_windows.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ call pyinstaller -w --onefile ^
1616
--hidden-import PIL.Jpeg2KImagePlugin ^
1717
--hidden-import pkg_resources ^
1818
--hidden-import configobj ^
19-
-i icon.ico ^
19+
-i images\icon.ico ^
2020
--distpath Web2ExeWin -n Web2Exe main.py
2121

2222
echo D | xcopy /s files Web2ExeWin\files

scripts/upload_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828

2929
password = getpass.getpass('Password:')
3030

31-
zip_files = glob('Web2ExeBuild/*.zip')
31+
zip_files = glob('Web2ExeBuild/*.zip') + glob('*.zip')
3232
file_names = set([os.path.basename(zip_file) for zip_file in zip_files])
3333

3434
if req.status_code == 200:

0 commit comments

Comments
 (0)