You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`createUpdaterArtifacts`| Setting this to `true` tells Tauri's app bundler to create updater artifacts. If you're migrating your app from an older Tauri version, set it to `"v1Compatible"` instead. **This setting will be removed in v3** so make sure to change it to `true` once all your users are migrated to v2. |
199
-
|`pubkey`| This has to be the public key generated from the Tauri CLI in the step above. It **cannot** be a file path! |
200
-
|`endpoints`| This must be an array of endpoint URLs as strings. TLS is enforced in production mode. Tauri will only continue to the next url if a non-2XX status code is returned! |
|`createUpdaterArtifacts`| Setting this to `true` tells Tauri's app bundler to create updater artifacts. If you're migrating your app from an older Tauri version, set it to `"v1Compatible"` instead. **This setting will be removed in v3** so make sure to change it to `true` once all your users are migrated to v2. |
199
+
|`pubkey`| This has to be the public key generated from the Tauri CLI in the step above. It **cannot** be a file path! |
200
+
|`endpoints`| This must be an array of endpoint URLs as strings. TLS is enforced in production mode. Tauri will only continue to the next url if a non-2XX status code is returned! |
201
+
|`dangerousInsecureTransportProtocol`| Setting this to `true` allows the updater to accept non-HTTPS endpoints. Use this configuration with caution! |
201
202
202
203
Each updater URL can contain the following dynamic variables, allowing you to determine server-side if an update is available.
203
204
@@ -479,7 +480,7 @@ mod app_updates {
479
480
480
481
letupdate=app
481
482
.updater_builder()
482
-
.endpoints(vec![url])
483
+
.endpoints(vec![url])?
483
484
.build()?
484
485
.check()
485
486
.await?;
@@ -613,7 +614,7 @@ let update_url = format!("https://{channel}.myserver.com/{{{{target}}}}-{{{{arch
0 commit comments