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"
},
"dependencies": {
"@tauri-apps/api": "2.1.1",
"@tauri-apps/api": "2.0.3",
"@tauri-apps/cli": "2.1.0",
"@tauri-apps/plugin-autostart": "2.0.0",
"@tauri-apps/plugin-fs": "2.0.2",
@ -21,6 +21,6 @@
"overlayscrollbars": "2.10.0",
"overlayscrollbars-vue": "0.5.9",
"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()
.message(msg)
.title("Update Available")
.title("Qopy Update Available")
.buttons(MessageDialogButtons::OkCancelCustom(String::from("Install"), String::from("Cancel")))
.show(move |response| {
if !response {
@ -31,7 +31,7 @@ pub async fn check_for_updates(app: AppHandle) {
Ok(_) => {
app.dialog()
.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")))
.show(move |response| {
if response {