Skip to content

Commit

Permalink
Added session persistency - no need to login again each launch
Browse files Browse the repository at this point in the history
- removed restrictive window settings

Closes kreativgebiet#5
  • Loading branch information
mountainash committed Mar 23, 2020
1 parent 4be705e commit 137f515
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,12 @@ function createMainWindow() {
height: 600,
show: false,
icon: path.join(__dirname, 'build', 'icon.icns'),
minWidth: 800,
minHeight: 600,
vibrancy: 'light',
titleBarStyle: 'hidden-inset',
maximizable: false,
fullscreenable: false,
acceptFirstMouse: true,
webPreferences: {
nodeIntegration: false,
preload: path.join(__dirname, 'browser.js'),
plugins: true
plugins: true,
partition: 'persist:asana'
}
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taskana",
"productName": "Taskana",
"version": "1.7.0",
"version": "1.7.1",
"description": "Application wrapper for Asana web application",
"keywords": [
"macOS",
Expand Down Expand Up @@ -35,7 +35,7 @@
"license": "MIT",
"scripts": {
"start": "electron .",
"pack": "electron-packager .",
"pack": "electron-packager . --overwrite",
"build": "electron-builder"
},
"dependencies": {
Expand Down

0 comments on commit 137f515

Please sign in to comment.