Static title
This commit is contained in:
parent
4721c46d8c
commit
a32eb6a645
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,8 @@ function initTray(win: BrowserWindow) {
|
||||||
win.on("hide", () => {
|
win.on("hide", () => {
|
||||||
trayMenu.items[0].enabled = true;
|
trayMenu.items[0].enabled = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
win.on('page-title-updated', (e) => e.preventDefault());
|
||||||
}
|
}
|
||||||
|
|
||||||
function initMenuBar(win: BrowserWindow) {
|
function initMenuBar(win: BrowserWindow) {
|
||||||
|
@ -230,6 +232,7 @@ export function createMainWindow() {
|
||||||
devTools: true,
|
devTools: true,
|
||||||
preload: join(__dirname, "preload.js")
|
preload: join(__dirname, "preload.js")
|
||||||
},
|
},
|
||||||
|
title: "Vencord",
|
||||||
icon: ICON_PATH,
|
icon: ICON_PATH,
|
||||||
frame: VencordSettings.store.frameless !== true,
|
frame: VencordSettings.store.frameless !== true,
|
||||||
...(VencordSettings.store.macosTranslucency
|
...(VencordSettings.store.macosTranslucency
|
||||||
|
|
Reference in a new issue