mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
#294 show version of next gui update
This commit is contained in:
parent
4b993ae268
commit
09ed1fbcef
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,8 @@ autoUpdater.on("update-available", (info) => {
|
|||
sendStatusToWindow(
|
||||
`A new tea gui(${info.version}) is being downloaded. Please don't close the app.`,
|
||||
{
|
||||
i18n_key: "notification.gui-downloading"
|
||||
i18n_key: "notification.gui-downloading",
|
||||
version: info.version,
|
||||
}
|
||||
);
|
||||
});
|
||||
|
@ -124,6 +125,7 @@ autoUpdater.on("download-progress", (progressObj) => {
|
|||
autoUpdater.on("update-downloaded", (info) => {
|
||||
sendStatusToWindow(`A new tea gui(${info.version}) is available. Relaunch the app to update.`, {
|
||||
i18n_key: "notification.gui-downloaded",
|
||||
version: info.version,
|
||||
action: "relaunch"
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue