aboutsummaryrefslogtreecommitdiff
path: root/editors/vscode/files/patch-test_automation_src_electron.ts
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-05-12 12:27:03 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2025-05-12 12:28:26 +0000
commit51a6c70dba1b7483cad9fde351673b6d4eaa1f66 (patch)
treeba11e7a726b31edf3543911862ae6a901d5cc732 /editors/vscode/files/patch-test_automation_src_electron.ts
parent7eb86aa2f72530a057ae157ee0ca3552ac073c5e (diff)
Diffstat (limited to 'editors/vscode/files/patch-test_automation_src_electron.ts')
-rw-r--r--editors/vscode/files/patch-test_automation_src_electron.ts15
1 files changed, 3 insertions, 12 deletions
diff --git a/editors/vscode/files/patch-test_automation_src_electron.ts b/editors/vscode/files/patch-test_automation_src_electron.ts
index 8309ccd6f047..5278a38c8fc8 100644
--- a/editors/vscode/files/patch-test_automation_src_electron.ts
+++ b/editors/vscode/files/patch-test_automation_src_electron.ts
@@ -1,15 +1,6 @@
---- test/automation/src/electron.ts.orig 2025-04-09 23:39:47 UTC
+--- test/automation/src/electron.ts.orig 2025-05-07 12:32:30 UTC
+++ test/automation/src/electron.ts
-@@ -41,7 +41,7 @@ export async function resolveElectronConfiguration(opt
- args.push('--verbose');
- }
-
-- if (process.platform === 'linux') {
-+ if (process.platform === 'linux' || process.platform === 'freebsd') {
- // --disable-dev-shm-usage: when run on docker containers where size of /dev/shm
- // partition < 64MB which causes OOM failure for chromium compositor that uses
- // this partition for shared memory.
-@@ -103,7 +103,7 @@ export function getDevElectronPath(): string {
+@@ -84,7 +84,7 @@ export function getDevElectronPath(): string {
switch (process.platform) {
case 'darwin':
return join(buildPath, 'electron', `${product.nameLong}.app`, 'Contents', 'MacOS', 'Electron');
@@ -18,7 +9,7 @@
return join(buildPath, 'electron', `${product.applicationName}`);
case 'win32':
return join(buildPath, 'electron', `${product.nameShort}.exe`);
-@@ -116,7 +116,7 @@ export function getBuildElectronPath(root: string): st
+@@ -97,7 +97,7 @@ export function getBuildElectronPath(root: string): st
switch (process.platform) {
case 'darwin':
return join(root, 'Contents', 'MacOS', 'Electron');