You've already forked AstralRinth
feat: updater ui change + win restart fix (#6339)
* feat: updater ui change * fix: fix width * fix: impl fork tauri updater plugin * fix: lint
This commit is contained in:
@@ -307,6 +307,11 @@ fn main() {
|
||||
}
|
||||
|
||||
set_changelog_toast(Some(update.version.clone()));
|
||||
let update = if should_restart {
|
||||
(**update).clone()
|
||||
} else {
|
||||
(**update).clone().restart_after_install(false)
|
||||
};
|
||||
match update.install(data) {
|
||||
Ok(()) => {
|
||||
if should_restart {
|
||||
|
||||
@@ -31,7 +31,10 @@
|
||||
"plugins": {
|
||||
"updater": {
|
||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDIwMzM5QkE0M0FCOERBMzkKUldRNTJyZzZwSnN6SUdPRGdZREtUUGxMblZqeG9OVHYxRUlRTzJBc2U3MUNJaDMvZDQ1UytZZmYK",
|
||||
"endpoints": ["https://launcher-files.modrinth.com/updates.json"]
|
||||
"endpoints": ["https://launcher-files.modrinth.com/updates.json"],
|
||||
"windows": {
|
||||
"installMode": "quiet"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user