Skip to content

Commit 5112a0c

Browse files
committed
chore: fix updater build configuration
1 parent e4e2429 commit 5112a0c

3 files changed

Lines changed: 15 additions & 16 deletions

File tree

.github/workflows/build-tauri.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ jobs:
3636
- os: ubuntu-latest
3737
name: linux
3838
targets: "x86_64-unknown-linux-gnu"
39-
tauri_target: ["'x86_64-unknown-linux-gnu --bundles deb,appimage,updater'"]
39+
tauri_target: ["'x86_64-unknown-linux-gnu --bundles deb,appimage'"]
4040
- os: ubuntu-24.04-arm
4141
name: linux-arm
4242
targets: "aarch64-unknown-linux-gnu"
43-
tauri_target: ["'aarch64-unknown-linux-gnu --bundles deb,appimage,updater'"]
43+
tauri_target: ["'aarch64-unknown-linux-gnu --bundles deb,appimage'"]
4444
- os: macos-latest
4545
name: mac
4646
targets: "aarch64-apple-darwin,x86_64-apple-darwin"
47-
tauri_target: ["'universal-apple-darwin --bundles app,dmg,updater'"]
47+
tauri_target: ["'universal-apple-darwin --bundles app,dmg'"]
4848
- os: windows-latest
4949
name: win
5050
targets: "aarch64-pc-windows-msvc,x86_64-pc-windows-msvc"
@@ -54,8 +54,8 @@ jobs:
5454
# Another note is embedBootstrapper is enabled to improve support on window 7. Though windows 7 doesn't support arm64.
5555
tauri_target:
5656
[
57-
"'aarch64-pc-windows-msvc --bundles nsis,updater'",
58-
"'x86_64-pc-windows-msvc --bundles msi,updater'",
57+
"'aarch64-pc-windows-msvc --bundles nsis'",
58+
"'x86_64-pc-windows-msvc --bundles msi'",
5959
]
6060

6161
steps:
@@ -99,7 +99,7 @@ jobs:
9999
shell: bash
100100
run: |
101101
for target in ${{ join(matrix.tauri_target, ' ') }}; do
102-
yarn build:tauri --target $target --config ./release.conf.json
102+
yarn build:tauri --target $target
103103
done
104104
env:
105105
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}

app/tauri/release.conf.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/tauri/tauri.conf.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,22 @@
2525
"csp": null
2626
}
2727
},
28+
"plugins": {
29+
"updater": {
30+
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVDNUI3N0FBQTI3NkEwOTQKUldTVW9IYWlxbmRiWElmTjM2blhVVzJ4RW9iaXhZa0xHY0lKNWMxQ2FnUks2bXBCSG5UcXZiQzkK",
31+
"endpoints": [
32+
"https://api.github.com/repos/zidoro/pomatez/this/is/not/a/valid/url/and/will/be/set/in/rust"
33+
]
34+
}
35+
},
2836
"bundle": {
2937
"active": true,
3038
"category": "Productivity",
3139
"copyright": "Copyright © 2024 Roldan Montilla Jr",
3240
"publisher": "Roldan Montilla Jr",
3341
"shortDescription": "",
3442
"longDescription": "",
43+
"createUpdaterArtifacts": true,
3544
"externalBin": [],
3645
"licenseFile": "../../LICENSE",
3746
"icon": [

0 commit comments

Comments
 (0)