feat: updater includes Qopy in the title

This commit is contained in:
PandaDEV 2024-11-16 21:16:56 +10:00
parent 6250a3e84b
commit 344db99d35
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@
"postinstall": "nuxt prepare" "postinstall": "nuxt prepare"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "2.1.1", "@tauri-apps/api": "2.0.3",
"@tauri-apps/cli": "2.1.0", "@tauri-apps/cli": "2.1.0",
"@tauri-apps/plugin-autostart": "2.0.0", "@tauri-apps/plugin-autostart": "2.0.0",
"@tauri-apps/plugin-fs": "2.0.2", "@tauri-apps/plugin-fs": "2.0.2",
@ -21,6 +21,6 @@
"overlayscrollbars": "2.10.0", "overlayscrollbars": "2.10.0",
"overlayscrollbars-vue": "0.5.9", "overlayscrollbars-vue": "0.5.9",
"sass": "1.81.0", "sass": "1.81.0",
"vue": "3.5.12" "vue": "3.5.13"
} }
} }

View file

@ -20,7 +20,7 @@ pub async fn check_for_updates(app: AppHandle) {
app.dialog() app.dialog()
.message(msg) .message(msg)
.title("Update Available") .title("Qopy Update Available")
.buttons(MessageDialogButtons::OkCancelCustom(String::from("Install"), String::from("Cancel"))) .buttons(MessageDialogButtons::OkCancelCustom(String::from("Install"), String::from("Cancel")))
.show(move |response| { .show(move |response| {
if !response { if !response {
@ -31,7 +31,7 @@ pub async fn check_for_updates(app: AppHandle) {
Ok(_) => { Ok(_) => {
app.dialog() app.dialog()
.message("Update installed successfully. The application needs to restart to apply the changes.") .message("Update installed successfully. The application needs to restart to apply the changes.")
.title("Update Installed") .title("Qopy Update Installed")
.buttons(MessageDialogButtons::OkCancelCustom(String::from("Restart"), String::from("Cancel"))) .buttons(MessageDialogButtons::OkCancelCustom(String::from("Restart"), String::from("Cancel")))
.show(move |response| { .show(move |response| {
if response { if response {