diff --git a/packages/api/src/controllers/config.js b/packages/api/src/controllers/config.js index bf9f649a..310c6d6b 100644 --- a/packages/api/src/controllers/config.js +++ b/packages/api/src/controllers/config.js @@ -73,7 +73,8 @@ module.exports = { ...value, }; if (value['app.useNativeMenu'] !== true && value['app.useNativeMenu'] !== false) { - res['app.useNativeMenu'] = os.platform() == 'darwin' ? true : false; + // res['app.useNativeMenu'] = os.platform() == 'darwin' ? true : false; + res['app.useNativeMenu'] = false; } return res; }, diff --git a/packages/web/src/stores.ts b/packages/web/src/stores.ts index e8c5c3b1..4efd690d 100644 --- a/packages/web/src/stores.ts +++ b/packages/web/src/stores.ts @@ -110,6 +110,7 @@ export const visibleTitleBar = derived(useSettings(), $settings => { if (nativeMenuOnStartup == null) { nativeMenuOnStartup = !!$settings['app.useNativeMenu']; } + // console.log('nativeMenuOnStartup', nativeMenuOnStartup); return !$settings['app.fullscreen'] && !nativeMenuOnStartup; });