Skip to content

Commit

Permalink
Add MSI package
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Litvinov <jnashicq@gmail.com>
  • Loading branch information
Zensey committed Sep 14, 2023
1 parent cae816e commit 5210692
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
certutil -decode bundle.txt bundle.pfx
& $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" bin/myst-launcher-amd64.exe
& $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" bin/myst-launcher-kryptex-amd64.exe
& $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" bin/myst-launcher-cli.exe
- name: Build
run: |
Expand All @@ -54,6 +55,8 @@ jobs:
iconsext.exe /save "bin\myst-launcher-amd64.exe" "installer\" -icons
candle installer\installer.wxs installer\licenseDialogue.wxs -arch x64 -out installer\
light installer\installer.wixobj installer\licenseDialogue.wixobj -dcl:high -ext WixUIExtension.dll -ext WixUtilExtension.dll -out installer\myst-launcher-x64.msi
copy bin/myst-launcher-kryptex-amd64.exe bin/myst-launcher-amd64.exe
light installer\installer.wixobj installer\licenseDialogue.wixobj -dcl:high -ext WixUIExtension.dll -ext WixUtilExtension.dll -out installer\myst-launcher-kryptex-x64.msi
- name: Sign
env:
Expand All @@ -63,7 +66,8 @@ jobs:
run: |
Set-Content -Path bundle.txt -Value $env:CODE_SIGNING_PFX
certutil -decode bundle.txt bundle.pfx
& $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" installer/myst-launcher-x64.msi bin/myst-launcher-cli.exe
& $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" installer/myst-launcher-x64.msi
& $env:SIGNTOOL sign /fd SHA256 /f bundle.pfx /p "$env:CODE_SIGNING_PFX_PASSWORD" /tr "http://timestamp.digicert.com" /td SHA256 /d "Mysterium Launcher" installer/myst-launcher-kryptex-x64.msi
- name: Upload
uses: softprops/action-gh-release@v1
Expand All @@ -72,6 +76,7 @@ jobs:
prerelease: true
files: |
installer/myst-launcher-x64.msi
installer/myst-launcher-kryptex-x64.msi
bin/myst-launcher-cli.exe
bin/myst-launcher-kryptex-amd64.exe
env:
Expand Down

0 comments on commit 5210692

Please sign in to comment.