refactor(windows): fix up MSI installer package and try to build it in CI (#2938)

This commit is contained in:
Reactor Scram
2023-12-19 19:42:03 -06:00
committed by GitHub
parent 8951be1ad2
commit 0beafbfb9e
2 changed files with 12 additions and 6 deletions

View File

@@ -94,15 +94,19 @@ jobs:
tauri build
# Used for release artifact
cp target/release/firezone-windows-client.exe "windows-client-x64.exe"
# There's an MSI and NSIS installer too, but their names include the version so I'll try those later.
# In release mode the name comes from tauri.conf.json
cp "target/release/Firezone Windows Client.exe" "windows-client-x64.exe"
- name: Save Windows client
uses: actions/upload-artifact@v3
with:
name: windows-client-x64.exe
name: windows-client-x64
path: ${{ github.workspace }}/rust/windows-client-x64.exe
- name: Save Windows installer
uses: actions/upload-artifact@v3
with:
name: windows-client-x64-msi
path: ${{ github.workspace }}/rust/target/release/bundle/msi
smoke-test-relay:
runs-on: ubuntu-22.04

View File

@@ -7,7 +7,7 @@
"withGlobalTauri": true
},
"package": {
"productName": "firezone-windows-client",
"productName": "Firezone Windows Client",
"version": "1.0.0"
},
"tauri": {
@@ -24,7 +24,9 @@
"identifier": "dev.firezone.client",
"icon": [
"icons/firezone.ico"
]
],
"publisher": "Firezone",
"shortDescription": "The Firezone Windows client"
},
"security": {
"csp": null