Skip to content

Commit

Permalink
Merge pull request rafajaques#174 from willvincent/enable-aero
Browse files Browse the repository at this point in the history
Issue rafajaques#173: Enable transparent window if Aeroglass is available
  • Loading branch information
rafajaques authored Oct 27, 2016
2 parents ca5dc50 + fbe6810 commit 5969fcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"tmpDir": true,
"checkForUpdates": true,
"setSearchingUpdate": true,
"systemPreferences": true,
"themesList": true
},
"rules": {
Expand Down
3 changes: 2 additions & 1 deletion app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ function welcome() {
center: true,
frame: false,
resizable: false,
icon: Path.join(__dirname, 'gfx', 'app-icon.png')
icon: Path.join(__dirname, 'gfx', 'app-icon.png'),
transparent: (process.platform !== 'win32' || systemPreferences.isAeroGlassEnabled())
});

welcomeWindow.loadURL('file://' + Path.join(__dirname, 'welcome.html'));
Expand Down

0 comments on commit 5969fcb

Please sign in to comment.