mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
testing handling on linux
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f8b36055f5
commit
117c833e2c
@ -1,2 +0,0 @@
|
|||||||
fileAssociations:
|
|
||||||
- lens
|
|
||||||
@ -171,6 +171,12 @@
|
|||||||
],
|
],
|
||||||
"snap": {
|
"snap": {
|
||||||
"confinement": "classic"
|
"confinement": "classic"
|
||||||
|
},
|
||||||
|
"fileAssociations": {
|
||||||
|
"protocols": {
|
||||||
|
"name": "Lens Protocol Handler",
|
||||||
|
"schemes": "lens"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lens": {
|
"lens": {
|
||||||
|
|||||||
@ -52,10 +52,12 @@ if (app.commandLine.getSwitchValue("proxy-server") !== "") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!app.requestSingleInstanceLock()) {
|
if (!app.requestSingleInstanceLock()) {
|
||||||
|
console.log(process.argv);
|
||||||
app.exit();
|
app.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
app.on("second-instance", () => {
|
app.on("second-instance", () => {
|
||||||
|
console.log(process.argv);
|
||||||
windowManager?.ensureMainWindow();
|
windowManager?.ensureMainWindow();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user