mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-22 05:34:04 +02:00
feat: updater includes Qopy in the title
This commit is contained in:
parent
6250a3e84b
commit
344db99d35
2 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue