testing handling on linux

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-02-02 08:49:48 -05:00
1 parent f8b36055f5
commit 117c833e2c
3 files changed
+8 -2

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
fileAssociations:
- lens
+6
View File
@@ -171,6 +171,12 @@
],
"snap": {
"confinement": "classic"
},
"fileAssociations": {
"protocols": {
"name": "Lens Protocol Handler",
"schemes": "lens"
}
}
},
"lens": {
+2
View File
@@ -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();
});