diff --git a/index.js b/index.js index f3ccf3f..707eba1 100644 --- a/index.js +++ b/index.js @@ -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. diff --git a/package.json b/package.json index 7834c82..8371180 100644 --- a/package.json +++ b/package.json @@ -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",