diff --git a/src/main.ts b/src/main.ts index f924f8064..5c441e089 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,6 +11,7 @@ import * as kittycad from '@kittycad/lib/import' import electronUpdater, { type AppUpdater } from 'electron-updater' import minimist from 'minimist' import getCurrentProjectFile from 'lib/getCurrentProjectFile' +import os from 'node:os' let mainWindow: BrowserWindow | null = null @@ -72,8 +73,8 @@ const createWindow = (): BrowserWindow => { preload: path.join(__dirname, './preload.js'), }, icon: path.resolve(process.cwd(), 'assets', 'icon.png'), - // frame: false, - // titleBarStyle: 'hiddenInset', + frame: os.platform() !== 'darwin', + titleBarStyle: 'hiddenInset', }) // and load the index.html of the app.