Don't show update tray icon if GOOSE_VERSION is set (#5750)
This commit is contained in:
@@ -469,6 +469,10 @@ function sendStatusToWindow(event: string, data?: unknown) {
|
|||||||
function updateTrayIcon(hasUpdate: boolean) {
|
function updateTrayIcon(hasUpdate: boolean) {
|
||||||
if (!trayRef) return;
|
if (!trayRef) return;
|
||||||
|
|
||||||
|
if (process.env.GOOSE_VERSION) {
|
||||||
|
hasUpdate = false;
|
||||||
|
}
|
||||||
|
|
||||||
const isDev = !app.isPackaged;
|
const isDev = !app.isPackaged;
|
||||||
let iconPath: string;
|
let iconPath: string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user