Skip to content

Commit 592d088

Browse files
committed
Added updater config
1 parent 7e0bb51 commit 592d088

File tree

3 files changed

+153
-6
lines changed

3 files changed

+153
-6
lines changed

src-tauri/Cargo.lock

Lines changed: 142 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "suptube"
3-
version = "1.2.1"
3+
version = "1.2.2"
44
description = "An unofficial client for YouTube"
55
authors = ["you"]
66
license = ""
@@ -17,7 +17,7 @@ tauri-build = { version = "1.2.1", features = [] }
1717
serde_json = "1.0"
1818
tauri-bundler = "1.1.2"
1919
serde = { version = "1.0", features = ["derive"] }
20-
tauri = { version = "1.2.4", features = ["shell-open", "window-set-fullscreen", "window-set-resizable"] }
20+
tauri = { version = "1.2.4", features = ["shell-open", "updater", "window-set-fullscreen", "window-set-resizable"] }
2121

2222
[features]
2323
# by default Tauri runs in production mode

src-tauri/tauri.conf.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "SupTube",
11-
"version": "1.2.1"
11+
"version": "1.2.2"
1212
},
1313
"tauri": {
1414
"allowlist": {
@@ -22,6 +22,12 @@
2222
"print": false,
2323
"setFullscreen": true,
2424
"setResizable": true
25+
},
26+
"dialog": {
27+
"all": false,
28+
"ask": false,
29+
"confirm": false,
30+
"message": false
2531
}
2632
},
2733
"bundle": {
@@ -71,8 +77,9 @@
7177
"csp": null
7278
},
7379
"updater": {
74-
"active": false,
80+
"active": true,
7581
"dialog": true,
82+
"endpoints": ["https://github.com/sandunwira/SupTube/releases/download/v{{current_version}}/SupTube_{{current_version}}_{{arch}}_en-US.msi"],
7683
"windows": {
7784
"installMode": "basicUi"
7885
},

0 commit comments

Comments
 (0)