Code signing + auto updater (#122)

* Code signing + auto updater

* remove dist

* update actions

* fixes

* fix more

* commit

* fix cache dir

* quotes

* fix hopefully?

* why yaml

* Fix cache dep path

* Fix updating artifacts

* fix ubuntu ver

* enable autoupdater

* fix pubkey

* fix invalid config

* pass in signing vars

* update pubkey

* Improve compile times
This commit is contained in:
Geometrically
2023-05-23 11:14:22 -07:00
committed by GitHub
parent 1b47eb71e1
commit 8ff1b0d108
11 changed files with 148 additions and 75 deletions

View File

@@ -19,7 +19,7 @@ theseus = { path = "../../theseus", features = ["tauri"] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.2", features = ["dialog", "dialog-open", "protocol-asset", "shell-open", "window-close", "window-create"] }
tauri = { version = "1.2", features = ["dialog", "dialog-open", "protocol-asset", "shell-open", "updater", "window-close", "window-create"] }
tokio = { version = "1", features = ["full"] }
thiserror = "1.0"
tokio-stream = { version = "0.1", features = ["fs"] }

View File

@@ -7,8 +7,8 @@
"withGlobalTauri": false
},
"package": {
"productName": "theseus",
"version": "0.0.0"
"productName": "Modrinth App",
"version": "0.0.1"
},
"tauri": {
"allowlist": {
@@ -33,7 +33,7 @@
},
"bundle": {
"active": true,
"category": "DeveloperTool",
"category": "Entertainment",
"copyright": "",
"deb": {
"depends": []
@@ -68,14 +68,17 @@
"csp": "default-src 'self'; connect-src https://modrinth.com https://*.modrinth.com; font-src https://cdn-raw.modrinth.com/fonts/inter/; img-src tauri: https: data: blob: 'unsafe-inline' asset: https://asset.localhost"
},
"updater": {
"active": false
"active": true,
"endpoints": ["https://launcher-files.modrinth.com/updates.json"],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDIwMzM5QkE0M0FCOERBMzkKUldRNTJyZzZwSnN6SUdPRGdZREtUUGxMblZqeG9OVHYxRUlRTzJBc2U3MUNJaDMvZDQ1UytZZmYK"
},
"windows": [
{
"fullscreen": false,
"height": 650,
"resizable": true,
"title": "Modrinth Launcher",
"title": "Modrinth App",
"width": 1140,
"minHeight": 630,
"minWidth": 1100