Skip to content

Commit

Permalink
chore: updater kung-foo (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm authored Mar 15, 2024
1 parent 09fc684 commit 898ff56
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
8 changes: 7 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ edition = "2021"
tauri-build = { version = "1", features = [] }

[dependencies]
tauri = { version = "1", features = ["shell-open", "updater", "dialog", "http-all"] }
tauri = { version = "1", features = [
"dialog-ask",
"shell-open",
"updater",
"http-api",
"http-request",
] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
mdns-sd = "0.10.4"
Expand Down
15 changes: 11 additions & 4 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "mdns-browser",
"version": "0.1.7"
"version": "0.1.8"
},
"tauri": {
"allowlist": {
Expand All @@ -22,9 +22,16 @@
"ask": true
},
"http": {
"all": true,
"all": false,
"request": true,
"scope": ["https://gist.githubusercontent.com/hrzlgnm/261433a660b7c056dc49b3ea6350689a/raw/516662d3954eb11d590ca2556a51c77d31b7df29/*"]
"scope": ["https://mdns-browser-updates.knulp.duckdns.org/*"]
},
"window": {
"all": true
},
"process": {
"exit": true,
"relaunch": true
}
},
"windows": [
Expand All @@ -40,7 +47,7 @@
"updater": {
"active": true,
"endpoints": [
"https://gist.githubusercontent.com/hrzlgnm/261433a660b7c056dc49b3ea6350689a/raw/516662d3954eb11d590ca2556a51c77d31b7df29/updates.json"
"https://mdns-browser-updates.knulp.duckdns.org/updates.json"
],
"dialog": true,
"windows": {
Expand Down

0 comments on commit 898ff56

Please sign in to comment.