diff --git a/electron-builder.yml b/electron-builder.yml deleted file mode 100644 index 6d53380860..0000000000 --- a/electron-builder.yml +++ /dev/null @@ -1,2 +0,0 @@ -fileAssociations: - - lens diff --git a/package.json b/package.json index ae048485fb..cbbc6fa634 100644 --- a/package.json +++ b/package.json @@ -171,6 +171,12 @@ ], "snap": { "confinement": "classic" + }, + "fileAssociations": { + "protocols": { + "name": "Lens Protocol Handler", + "schemes": "lens" + } } }, "lens": { diff --git a/src/main/index.ts b/src/main/index.ts index d1e2ce3abc..34f57644a2 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -52,10 +52,12 @@ if (app.commandLine.getSwitchValue("proxy-server") !== "") { } if (!app.requestSingleInstanceLock()) { + console.log(process.argv); app.exit(); } app.on("second-instance", () => { + console.log(process.argv); windowManager?.ensureMainWindow(); });