Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Cavoj committed May 6, 2018
2 parents 39077d1 + f28aeda commit 6fd7174
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"productName": "Hotelier",
"electronVersion": "2.0.0",
"asar": true,
"mac": {
"extendInfo": {
"LSUIElement": 1
}
},
"linux": {
"target": [
{
Expand All @@ -45,7 +50,8 @@
"x64"
]
}
]
],
"category": "Development"
},
"win": {
"target": [
Expand Down
4 changes: 3 additions & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const assetsDirectory = path.join(__dirname, './assets')
let tray = undefined
let window = undefined

app.dock.hide()
if (process.platform === 'darwin') {
app.dock.hide()
}

app.on('ready', () => {
createTray()
Expand Down

0 comments on commit 6fd7174

Please sign in to comment.