Skip to content

Commit f52ad72

Browse files
committed
fix(macOS): Ask the user to move Franz to the /Applications Folder
1 parent e201d44 commit f52ad72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ if (argv['auth-negotiate-delegate-whitelist']) {
318318
// initialization and is ready to create browser windows.
319319
// Some APIs can only be used after this event occurs.
320320
app.on('ready', () => {
321+
// force app to live in /Applications
322+
enforceMacOSAppLocation();
323+
321324
// Register App URL
322325
app.setAsDefaultProtocolClient('franz');
323326

0 commit comments

Comments
 (0)