Skip to content

Commit

Permalink
Bump version and fix app being shown on macOS startup even when hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-ramadas committed Mar 7, 2019
1 parent f83bdbe commit c1be0e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "palbum",
"version": "0.1.0",
"version": "0.1.1",
"author": {
"name": "António Ramadas",
"url": "https://github.com/antonio-ramadas"
Expand Down
2 changes: 1 addition & 1 deletion public/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function shouldShowWindow() {

// Login item settings does not work properly on all OS
if (process.platform === 'darwin') {
shouldShow = shouldShow || (wasOpenedAtLogin && !wasOpenedAsHidden);
shouldShow = !(wasOpenedAtLogin && wasOpenedAsHidden);
} else if (process.platform === 'win32') {
shouldShow = !wasOpenedAtLogin;
}
Expand Down

0 comments on commit c1be0e3

Please sign in to comment.