diff options
Diffstat (limited to 'editors/vscode/files/patch-test_automation_src_electron.ts')
-rw-r--r-- | editors/vscode/files/patch-test_automation_src_electron.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/editors/vscode/files/patch-test_automation_src_electron.ts b/editors/vscode/files/patch-test_automation_src_electron.ts index 5278a38c8fc8..5952d2a91663 100644 --- a/editors/vscode/files/patch-test_automation_src_electron.ts +++ b/editors/vscode/files/patch-test_automation_src_electron.ts @@ -1,20 +1,20 @@ ---- test/automation/src/electron.ts.orig 2025-05-07 12:32:30 UTC +--- test/automation/src/electron.ts.orig 2025-06-11 13:47:56 UTC +++ test/automation/src/electron.ts -@@ -84,7 +84,7 @@ export function getDevElectronPath(): string { - switch (process.platform) { +@@ -85,6 +85,7 @@ export function getDevElectronPath(): string { case 'darwin': return join(buildPath, 'electron', `${product.nameLong}.app`, 'Contents', 'MacOS', 'Electron'); -- case 'linux': -+ case 'linux': case 'freebsd': + case 'linux': ++ case 'freebsd': return join(buildPath, 'electron', `${product.applicationName}`); case 'win32': return join(buildPath, 'electron', `${product.nameShort}.exe`); -@@ -97,7 +97,7 @@ export function getBuildElectronPath(root: string): st +@@ -97,7 +98,8 @@ export function getBuildElectronPath(root: string): st switch (process.platform) { case 'darwin': return join(root, 'Contents', 'MacOS', 'Electron'); - case 'linux': { -+ case 'linux': case 'freebsd': { ++ case 'linux': ++ case 'freebsd': { const product = require(join(root, 'resources', 'app', 'product.json')); return join(root, product.applicationName); } |