aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-25 01:07:07 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-25 01:07:07 +0100
commit7d5c12dfc453862f99048d468ef78353257c5f03 (patch)
tree3939f0719bc63c638aa8117731ce97c292ec3894
parentfeat: Harden window navigation and permissions (diff)
downloadsophie-7d5c12dfc453862f99048d468ef78353257c5f03.tar.gz
sophie-7d5c12dfc453862f99048d468ef78353257c5f03.tar.zst
sophie-7d5c12dfc453862f99048d468ef78353257c5f03.zip
fix: Restore accidentally deleted autoHideMenuBar
-rw-r--r--packages/main/src/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/main/src/index.ts b/packages/main/src/index.ts
index 09441ef..4a51518 100644
--- a/packages/main/src/index.ts
+++ b/packages/main/src/index.ts
@@ -134,6 +134,7 @@ function shouldCancelMainWindowRequest(url: string, method: string): boolean {
134function createWindow(): Promise<unknown> { 134function createWindow(): Promise<unknown> {
135 mainWindow = new BrowserWindow({ 135 mainWindow = new BrowserWindow({
136 show: false, 136 show: false,
137 autoHideMenuBar: true,
137 webPreferences: { 138 webPreferences: {
138 sandbox: true, 139 sandbox: true,
139 preload: getResourcePath('../../preload/dist/index.cjs'), 140 preload: getResourcePath('../../preload/dist/index.cjs'),