Remove notification for update.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bodyshop-desktop",
|
"name": "bodyshop-desktop",
|
||||||
"version": "1.0.6-alpha.1",
|
"version": "1.0.6-beta.2",
|
||||||
"description": "Shop Management System Partner",
|
"description": "Shop Management System Partner",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
"author": "Convenient Brands, LLC",
|
"author": "Convenient Brands, LLC",
|
||||||
|
|||||||
@@ -12,10 +12,7 @@ async function checkForAppUpdatesContinuously(): Promise<void> {
|
|||||||
}
|
}
|
||||||
async function checkForAppUpdates(): Promise<void> {
|
async function checkForAppUpdates(): Promise<void> {
|
||||||
await setReleaseChannel();
|
await setReleaseChannel();
|
||||||
autoUpdater.checkForUpdatesAndNotify({
|
autoUpdater.checkForUpdates();
|
||||||
title: "Shop Partner Update",
|
|
||||||
body: "A new version of Shop Partner is available. Click to update.",
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export { checkForAppUpdates, checkForAppUpdatesContinuously };
|
export { checkForAppUpdates, checkForAppUpdatesContinuously };
|
||||||
|
|||||||
Reference in New Issue
Block a user