diff options
Diffstat (limited to 'editors/vscode/files/patch-test_smoke_src_main.ts')
-rw-r--r-- | editors/vscode/files/patch-test_smoke_src_main.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/vscode/files/patch-test_smoke_src_main.ts b/editors/vscode/files/patch-test_smoke_src_main.ts new file mode 100644 index 000000000000..2d17bfb4efa2 --- /dev/null +++ b/editors/vscode/files/patch-test_smoke_src_main.ts @@ -0,0 +1,20 @@ +--- test/smoke/src/main.ts.orig 2019-12-10 21:16:00 UTC ++++ test/smoke/src/main.ts +@@ -96,7 +96,7 @@ function getDevElectronPath(): string { + switch (process.platform) { + case 'darwin': + return path.join(buildPath, 'electron', `${product.nameLong}.app`, 'Contents', 'MacOS', 'Electron'); +- case 'linux': ++ case 'linux': case 'freebsd': + return path.join(buildPath, 'electron', `${product.applicationName}`); + case 'win32': + return path.join(buildPath, 'electron', `${product.nameShort}.exe`); +@@ -109,7 +109,7 @@ function getBuildElectronPath(root: string): string { + switch (process.platform) { + case 'darwin': + return path.join(root, 'Contents', 'MacOS', 'Electron'); +- case 'linux': { ++ case 'linux': case 'freebsd': { + const product = require(path.join(root, 'resources', 'app', 'product.json')); + return path.join(root, product.applicationName); + } |