Skip to content

Commit

Permalink
fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdadams committed May 15, 2023
1 parent ec62651 commit cd3c1b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ contextMenu();

// Note: Must match `build.appId` in package.json
app.setAppUserModelId(config.get('appUserModelId'));
app.dock.hide();
if (process.platform === 'darwin') {
app.dock.hide();
}

// Uncomment this before publishing your first version.
// It's commented out as it throws an error if there are no published versions.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "midi-relay",
"productName": "midi-relay",
"version": "3.0.1",
"version": "3.0.2",
"description": "Listens for HTTP requests with JSON payload and relays MIDI/MSC commands on local ports.",
"license": "MIT",
"repository": "josephdadams/midi-relay",
Expand Down

0 comments on commit cd3c1b2

Please sign in to comment.