aboutsummaryrefslogtreecommitdiff
path: root/editors/vscode/files/patch-test_automation_src_electron.ts
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2022-07-10 01:35:42 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2022-07-10 01:37:27 +0000
commitb4ea34b0880a0f3572fec55bc4c5d3d0c0d331b1 (patch)
treefc12eebe8f12dae72d49fee4b20d035a5d190e7d /editors/vscode/files/patch-test_automation_src_electron.ts
parentc38f2ffe95ed4ffb5c82f01bfc97f9fc4ace1887 (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 0c9896d3bb5d..b6be5f06e006 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 2022-05-19 00:38:13 UTC
+--- test/automation/src/electron.ts.orig 2022-07-05 18:15:23 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') {
- args.push('--disable-gpu'); // Linux has trouble in VMs to render properly with GPU enabled
- }
-
-@@ -97,7 +97,7 @@ export function getDevElectronPath(): string {
+@@ -101,7 +101,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`);
-@@ -110,7 +110,7 @@ export function getBuildElectronPath(root: string): st
+@@ -114,7 +114,7 @@ export function getBuildElectronPath(root: string): st
switch (process.platform) {
case 'darwin':
return join(root, 'Contents', 'MacOS', 'Electron');