mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
disable spectron on linux
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
e42d2e1198
commit
d866a37260
2 files changed
+7
-8
No files matched your search
@@ -1,16 +1,15 @@
|
||||
import { Application } from "spectron";
|
||||
import * as path from "path"
|
||||
|
||||
let appPath = ""
|
||||
switch(process.platform) {
|
||||
case "win32":
|
||||
appPath = path.join("./dist/win-unpacked/Lens.exe")
|
||||
appPath = "./dist/win-unpacked/Lens.exe"
|
||||
break
|
||||
case "linux":
|
||||
appPath = path.join("./dist/linux-unpacked/kontena-lens")
|
||||
appPath = "./dist/linux-unpacked/kontena-lens"
|
||||
break
|
||||
case "darwin":
|
||||
appPath = path.join("./dist/mac/LensDev.app/Contents/MacOS/LensDev")
|
||||
appPath = "./dist/mac/LensDev.app/Contents/MacOS/LensDev"
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user