diff --git a/src/main.ts b/src/main.ts index d6552d6..afdb97a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,7 +19,6 @@ export var settings: any; export var customTitlebar: boolean; export var clientName: "ArmCord"; - if (!app.requestSingleInstanceLock()) { // kill if 2nd instance app.quit(); @@ -86,4 +85,4 @@ if (!app.requestSingleInstanceLock()) { if (BrowserWindow.getAllWindows().length === 0) await init(); }); }); -} \ No newline at end of file +} diff --git a/src/window.ts b/src/window.ts index b9cda90..d267dc1 100644 --- a/src/window.ts +++ b/src/window.ts @@ -156,7 +156,7 @@ async function doAfterDefiningTheWindow() { let trayPath = nativeImage.createFromPath(path.join(app.getPath("temp"), "/", "tray.png")); if (process.platform === "darwin" && trayPath.getSize().height > 22) trayPath = trayPath.resize({height: 22}); - if (process.platform === "win32" && trayPath.getSize().height > 22) + if (process.platform === "win32" && trayPath.getSize().height > 64) trayPath = trayPath.resize({height: 64}); tray.setImage(trayPath); });