Skip to content

Commit

Permalink
Installer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Apr 17, 2024
1 parent 231927e commit 311d653
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 31 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@ jobs:
run: cargo build --release
- name: Build the setup proggam
run: |
& 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' '/Sstremiosign=$qC:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\signtool.exe$q sign /f $q${{ github.workspace }}\certificates\smartcode-20211118-20241118.pfx$q /p ${{ secrets.WIN_CERT_PASSWORD }} /v $f' '${{ github.workspace }}\setup\Stremio.iss'
& 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' /DSIGN '/Sstremiosign=$qC:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\signtool.exe$q sign /f $q${{ github.workspace }}\certificates\smartcode-20211118-20241118.pfx$q /p ${{ secrets.WIN_CERT_PASSWORD }} /v $f' '${{ github.workspace }}\setup\Stremio.iss'
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: eu-west-1

- name: Upload to Amazon S3
run: |
aws s3 cp --acl public-read StremioSetup*.exe s3://stremio-artifacts/stremio-shell-ng/${{ github.ref_name }}/
- uses: actions/upload-artifact@v3
with:
name: stremio-setup
path: Stremio*.exe
path: StremioSetup*.exe
Binary file modified images/windows-installer-header.bmp
Binary file not shown.
4 changes: 3 additions & 1 deletion setup/Stremio.iss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ DisableDirPage=yes
DisableProgramGroupPage=yes
; DisableFinishedPage=yes
ChangesAssociations=yes
OutputBaseFilename={#MyAppName} {#MyAppVersion}
OutputBaseFilename={#MyAppName}Setup-v{#MyAppVersion}
OutputDir=..
Compression=lzma
SolidCompression=yes
Expand All @@ -50,8 +50,10 @@ WizardImageFile={#SourcePath}..\images\windows-installer.bmp
WizardSmallImageFile={#SourcePath}..\images\windows-installer-header.bmp
SetupIconFile={#SourcePath}..\images\stremio.ico
UninstallDisplayIcon={app}\{#MyAppExeName},0
#ifdef SIGN
SignTool=stremiosign
SignedUninstaller=yes
#endif

[Code]
function InitializeSetup: Boolean;
Expand Down
3 changes: 1 addition & 2 deletions setup/create_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ if not exist "%mypath%..\target\release\stremio-shell-ng.exe" (
)

:: Compile the installer
:: "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%mypath%Stremio.iss"
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "/Sstremiosign=$qC:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\signtool.exe$q sign /f $q${{ github.workspace }}\certificates\smartcode-20211118-20241118.pfx$q /p ${{ secrets.WIN_CERT_PASSWORD }} /v $f" "%mypath%Stremio.iss"
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%mypath%Stremio.iss"
26 changes: 0 additions & 26 deletions setup/get_exe_from_zip.ps1

This file was deleted.

0 comments on commit 311d653

Please sign in to comment.