Skip to content

Commit

Permalink
Added titleBar and update screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
lukassr committed Mar 20, 2019
1 parent 77ea24a commit 086b8d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions app/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = function createMainWindow (handleResize, handleClosed) {
height: lastWindowState.height,
icon: join(__dirname, '../build/icon.png'),
title: 'Keep Dark',
titleBarStyle: 'hidden',
webPreferences: {
preload: `${__dirname}/browser.js`,
partition: "persist:main"
Expand All @@ -33,8 +32,8 @@ module.exports = function createMainWindow (handleResize, handleClosed) {
})
})
// window.setFullScreen(true);
window.on('resize', handleResize)
window.on('closed', handleClosed)
window.on('resize', handleResize);
window.on('closed', handleClosed);
// const session = window.webContents.session.cookies.get({}, (error, cookies) => {
// console.log("cookies", cookies);
// var cookies = session.defaultSession.cookies;
Expand All @@ -60,5 +59,5 @@ module.exports = function createMainWindow (handleResize, handleClosed) {
// });
// });;

return window
return window;
}
Binary file modified media/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "keepdark",
"productName": "Keep Dark",
"version": "0.1.0",
"version": "0.2.0",
"description": "Google Keep Dark: Desktop App with Dark Theme",
"electronVersion": "0.36.0",
"main": "app/index.js",
Expand Down

0 comments on commit 086b8d4

Please sign in to comment.