1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-20 20:51:49 +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 }) => {
const dialogOpts = {
type: "info",
buttons: ["Ok"],
title: "Application Update",
buttons: ["Ok cool"],
title: "New Upscayl Update",
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) => {});
});
@ -459,7 +460,7 @@ autoUpdater.on("update-downloaded", (event) => {
const dialogOpts: MessageBoxOptions = {
type: "info",
buttons: ["Restart", "Later"],
title: "Application Update",
title: "New Upscayl Update",
message: event.releaseName as string,
detail:
"A new version has been downloaded. Restart the application to apply the updates.",