diff --git a/apps/studio/electron-builder.json5 b/apps/studio/electron-builder.json5 index 3e7f03476..7a89e179f 100644 --- a/apps/studio/electron-builder.json5 +++ b/apps/studio/electron-builder.json5 @@ -58,6 +58,13 @@ category: 'Utility', desktop: { Name: 'Onlook', + Exec: 'onlook %U', + Terminal: 'false', + Type: 'Application', + Icon: 'onlook', + StartupWMClass: 'Onlook', + Comment: 'The first-ever devtool for designers', + Categories: 'Utility;', }, }, nsis: {}, diff --git a/apps/studio/electron/main/index.ts b/apps/studio/electron/main/index.ts index 139b002b2..13a1e1fdf 100644 --- a/apps/studio/electron/main/index.ts +++ b/apps/studio/electron/main/index.ts @@ -150,7 +150,7 @@ const setupAppEventListeners = () => { mainWindow.focus(); } const url = commandLine.find((arg) => arg.startsWith(`${APP_SCHEMA}://`)); - if (url && process.platform === 'win32') { + if (url) { handleAuthCallback(url); } });