Skip to content
Permalink
Browse files
fix(macOS): Ask the user to move Franz to the /Applications Folder
  • Loading branch information
adlk committed Apr 2, 2020
1 parent e201d44 commit f52ad7209d258d2d32eb63e9e9eef4b60085defc
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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');

0 comments on commit f52ad72

Please sign in to comment.