Skip to content

Commit

Permalink
fix(macOS): Ask the user to move Franz to the /Applications Folder
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Apr 2, 2020
1 parent e201d44 commit f52ad72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ if (argv['auth-negotiate-delegate-whitelist']) {
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on('ready', () => {
// force app to live in /Applications
enforceMacOSAppLocation();

// Register App URL
app.setAsDefaultProtocolClient('franz');

Expand Down

0 comments on commit f52ad72

Please sign in to comment.