Skip to content

Commit

Permalink
more macOS stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetheryx committed Dec 19, 2018
1 parent b8e63ef commit 006210d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@ if (config.openOverlayDevTools && location.pathname === '/overlay') {
});
}

// https://github.com/electron/electron/issues/9047
if (
process.platform === 'darwin' &&
!process.env.PATH.includes('/usr/local/bin')
) {
process.env.PATH += ':/usr/local/bin';
}

require(remote.getGlobal('originalPreload'));

0 comments on commit 006210d

Please sign in to comment.