1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-21 21:19:31 +01:00

Updated update message

This commit is contained in:
Nayam Amarshe 2023-03-18 17:50:32 +05:30
parent 99a066cedf
commit c9325ca879

View File

@ -447,10 +447,11 @@ ipcMain.on(commands.FOLDER_UPSCAYL, async (event, payload) => {
autoUpdater.on("update-available", ({ releaseNotes, releaseName }) => { autoUpdater.on("update-available", ({ releaseNotes, releaseName }) => {
const dialogOpts = { const dialogOpts = {
type: "info", type: "info",
buttons: ["Ok"], buttons: ["Ok cool"],
title: "Application Update", title: "New Upscayl Update",
message: releaseName as string, message: releaseName as string,
detail: "A new version is being downloaded.", detail:
"A new version is being downloaded. Please check GitHub for more details.",
}; };
dialog.showMessageBox(dialogOpts).then((returnValue) => {}); dialog.showMessageBox(dialogOpts).then((returnValue) => {});
}); });
@ -459,7 +460,7 @@ autoUpdater.on("update-downloaded", (event) => {
const dialogOpts: MessageBoxOptions = { const dialogOpts: MessageBoxOptions = {
type: "info", type: "info",
buttons: ["Restart", "Later"], buttons: ["Restart", "Later"],
title: "Application Update", title: "New Upscayl Update",
message: event.releaseName as string, message: event.releaseName as string,
detail: detail:
"A new version has been downloaded. Restart the application to apply the updates.", "A new version has been downloaded. Restart the application to apply the updates.",