Skip to content

Commit

Permalink
Configured automatic updates for Equion
Browse files Browse the repository at this point in the history
  • Loading branch information
w-henderson committed Jun 28, 2022
1 parent e2c2680 commit 38a72ba
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ http {
location /release/ {
proxy_pass http://download_manager/;
proxy_set_header Host $host;
client_max_body_size 32M;
}

location /release/download/ {
Expand Down
1 change: 1 addition & 0 deletions nginx.prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ http {
location /release/ {
proxy_pass http://download_manager/;
proxy_set_header Host $host;
client_max_body_size 32M;
}

location /release/download/ {
Expand Down
22 changes: 22 additions & 0 deletions range/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion range/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tauri-build = { version = "1.0.0-rc.10", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.0.0-rc.10", features = ["api-all", "icon-ico", "icon-png", "system-tray"] }
tauri = { version = "1.0.0-rc.10", features = ["api-all", "icon-ico", "icon-png", "system-tray", "updater"] }
base64 = "^0.13.0"
tauri-plugin-deep-link = { git = "https://github.com/FabianLars/tauri-plugin-deep-link", rev = "4e014f28767f69d097b59e1b40ca3384d94b0029"}

Expand Down
9 changes: 7 additions & 2 deletions range/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package": {
"productName": "equion",
"productName": "Equion",
"version": "0.1.0"
},
"build": {
Expand Down Expand Up @@ -31,7 +31,12 @@
}
},
"updater": {
"active": false
"active": true,
"endpoints": [
"https://equion.whenderson.dev/release/update/{{target}}/{{current_version}}"
],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEYzRDgxQUVCQzcxNDc0ODAKUldTQWRCVEg2eHJZOC9FYkNqdUllN013QWZDRVVoT3BJdFFieEt0L2FDdDNBVU5leWM1bDNpV1cK"
},
"allowlist": {
"all": true
Expand Down

0 comments on commit 38a72ba

Please sign in to comment.