Skip to content

Instantly share code, notes, and snippets.

@potato4d
Created November 16, 2016 10:05
Show Gist options
  • Save potato4d/1d0b563fb643d66e4675874084125a09 to your computer and use it in GitHub Desktop.
Save potato4d/1d0b563fb643d66e4675874084125a09 to your computer and use it in GitHub Desktop.
Electronでタイトルバーを非表示にしつつウィンドウの操作ボタンを表示する方法 ref: http://qiita.com/potato4d/items/7cf11b75176cb355f364
function createWindow () {
// Create the browser window.
--- mainWindow = new BrowserWindow({width: 800, height: 600})
+++ mainWindow = new BrowserWindow({titleBarStyle: 'hidden',width: 800, height: 600})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment