diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-25 01:07:07 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-25 01:07:07 +0100 |
commit | 7d5c12dfc453862f99048d468ef78353257c5f03 (patch) | |
tree | 3939f0719bc63c638aa8117731ce97c292ec3894 /packages/main | |
parent | feat: Harden window navigation and permissions (diff) | |
download | sophie-7d5c12dfc453862f99048d468ef78353257c5f03.tar.gz sophie-7d5c12dfc453862f99048d468ef78353257c5f03.tar.zst sophie-7d5c12dfc453862f99048d468ef78353257c5f03.zip |
fix: Restore accidentally deleted autoHideMenuBar
Diffstat (limited to 'packages/main')
-rw-r--r-- | packages/main/src/index.ts | 1 |
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 { | |||
134 | function createWindow(): Promise<unknown> { | 134 | function 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'), |