Commit 4ff9c1d0 authored by thiolliere's avatar thiolliere
Browse files

use self extracted archive for windows

parent 6f0292d5
......@@ -62,12 +62,14 @@ install:
# Deploy
- move C:\projects\pibox-installer\dist\pibox-installer binary
- echo binary\pibox-installer.exe > run.bat
- 7z.exe a -r C:\projects\pibox-installer\dist\pibox-installer.zip binary run.bat
- cd C:\projects\pibox-installer\dist\pibox-installer
- 7z.exe a -m0=Copy pibox-installer.7z *
- move pibox-installer.7z C:\projects\pibox-installer\windows_bundle
- cd C:\projects\pibox-installer\windows_bundle
- copy /b 7zS.sfx + config.txt + pibox-installer.7z pibox-installer.exe
- move C:\projects\pibox-installer\dist\pibox-installer.zip C:\msys64\home\appveyor\
- move C:\projects\pibox-installer\windows_bundle\pibox-installer.exe C:\msys64\home\appveyor\
- move C:\projects\pibox-installer\pibox_installer_ci_rsa C:\msys64\home\appveyor\
- if %platform%==x86 C:\msys64\usr\bin\bash --login -c "scp -o StrictHostKeyChecking=no -i pibox_installer_ci_rsa pibox-installer.zip pibox_ci@buildbot.wan.bsf-intranet.org:/srv/repos/pibox/$(date +'%%Y-%%m-%%d')/pibox-installer-win32.zip"
- if %platform%==x64 C:\msys64\usr\bin\bash --login -c "scp -o StrictHostKeyChecking=no -i pibox_installer_ci_rsa pibox-installer.zip pibox_ci@buildbot.wan.bsf-intranet.org:/srv/repos/pibox/$(date +'%%Y-%%m-%%d')/pibox-installer-win64.zip"
- if %platform%==x86 C:\msys64\usr\bin\bash --login -c "scp -o StrictHostKeyChecking=no -i pibox_installer_ci_rsa pibox-installer.exe pibox_ci@buildbot.wan.bsf-intranet.org:/srv/repos/pibox/$(date +'%%Y-%%m-%%d')/pibox-installer-win32.exe"
- if %platform%==x64 C:\msys64\usr\bin\bash --login -c "scp -o StrictHostKeyChecking=no -i pibox_installer_ci_rsa pibox-installer.exe pibox_ci@buildbot.wan.bsf-intranet.org:/srv/repos/pibox/$(date +'%%Y-%%m-%%d')/pibox-installer-win64.exe"
......@@ -82,7 +82,7 @@ pyz = PYZ(a.pure, a.zipped_data,
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='pibox-installer',
name='launcher',
debug=False,
strip=False,
upx=True,
......
......@@ -82,7 +82,7 @@ pyz = PYZ(a.pure, a.zipped_data,
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='pibox-installer',
name='launcher',
debug=False,
strip=False,
upx=True,
......
;!@Install@!UTF-8!
Title="Pibox installer"
RunProgram="launcher.exe"
;!@InstallEnd@!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment