Skip to content

Commit

Permalink
swap out update titles
Browse files Browse the repository at this point in the history
  • Loading branch information
sylviiu committed Jan 11, 2025
1 parent b905a73 commit c18c0c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/checkForUpdates.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const setProgress = (opt) => {
const notifyWithInfo = (info, downloaded) => {
while(promises.length) promises.pop().res(true);

global.updateAvailable = info.version;
global.updateAvailable = info.version.slice(6);

if(global.window) global.window.webContents.send(`updateAvailable`);

Expand Down Expand Up @@ -71,7 +71,7 @@ const notifyWithInfo = (info, downloaded) => {
}

const opt = {
headingText: `Update available! (${info.version})`,
headingText: `Update available! (${info.releaseName})`,
bodyText: (`${date} -- "${global.updateAvailable}" `) + (downloaded ? `is available to download!` : `will be installed when you exit!`)
};

Expand Down Expand Up @@ -153,7 +153,7 @@ module.exports = (manual) => new Promise(async res => {
autoUpdater.currentVersion = pkg.version;
AppUpdater.currentVersion = pkg.version;
}*/

autoUpdater.currentVersion = pkg.version;
AppUpdater.currentVersion = pkg.version;

Expand Down
File renamed without changes.

0 comments on commit c18c0c1

Please sign in to comment.