From a589c98e2183bbde860b459cc61ea7ffd4b7400a Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Fri, 3 Jul 2026 09:18:21 +0500 Subject: [PATCH] desktop: fix patches --- apps/desktop/patches/app-builder-lib+26.0.12.patch | 13 ------------- ...re+1.61.1.patch => playwright-core+1.61.1.patch} | 12 ++++++------ 2 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 apps/desktop/patches/app-builder-lib+26.0.12.patch rename apps/desktop/patches/{@playwright+test++playwright-core+1.61.1.patch => playwright-core+1.61.1.patch} (54%) diff --git a/apps/desktop/patches/app-builder-lib+26.0.12.patch b/apps/desktop/patches/app-builder-lib+26.0.12.patch deleted file mode 100644 index cdc824282..000000000 --- a/apps/desktop/patches/app-builder-lib+26.0.12.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/app-builder-lib/out/targets/snap.js b/node_modules/app-builder-lib/out/targets/snap.js -index 0b5405e..753f6c6 100644 ---- a/node_modules/app-builder-lib/out/targets/snap.js -+++ b/node_modules/app-builder-lib/out/targets/snap.js -@@ -115,7 +115,7 @@ class SnapTarget extends core_1.Target { - else { - const archTriplet = archNameToTriplet(arch); - appDescriptor.environment = { -- DISABLE_WAYLAND: options.allowNativeWayland ? "" : "1", -+ DISABLE_WAYLAND: options.allowNativeWayland ? "0" : "1", - PATH: "$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH", - SNAP_DESKTOP_RUNTIME: "$SNAP/gnome-platform", - LD_LIBRARY_PATH: [ diff --git a/apps/desktop/patches/@playwright+test++playwright-core+1.61.1.patch b/apps/desktop/patches/playwright-core+1.61.1.patch similarity index 54% rename from apps/desktop/patches/@playwright+test++playwright-core+1.61.1.patch rename to apps/desktop/patches/playwright-core+1.61.1.patch index de736690f..0c0e2a2df 100644 --- a/apps/desktop/patches/@playwright+test++playwright-core+1.61.1.patch +++ b/apps/desktop/patches/playwright-core+1.61.1.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@playwright/test/node_modules/playwright-core/lib/coreBundle.js b/node_modules/@playwright/test/node_modules/playwright-core/lib/coreBundle.js +diff --git a/node_modules/playwright-core/lib/coreBundle.js b/node_modules/playwright-core/lib/coreBundle.js index 7d8468f..ab252ef 100644 ---- a/node_modules/@playwright/test/node_modules/playwright-core/lib/coreBundle.js -+++ b/node_modules/@playwright/test/node_modules/playwright-core/lib/coreBundle.js +--- a/node_modules/playwright-core/lib/coreBundle.js ++++ b/node_modules/playwright-core/lib/coreBundle.js @@ -16010,6 +16010,7 @@ var init_validator = __esm({ args: tOptional(tArray(tString)), chromiumSandbox: tOptional(tBoolean), @@ -10,10 +10,10 @@ index 7d8468f..ab252ef 100644 env: tOptional(tArray(tType("NameValue"))), timeout: tFloat, acceptDownloads: tOptional(tEnum(["accept", "deny", "internal-browser-default"])), -diff --git a/node_modules/@playwright/test/node_modules/playwright-core/types/types.d.ts b/node_modules/@playwright/test/node_modules/playwright-core/types/types.d.ts +diff --git a/node_modules/playwright-core/types/types.d.ts b/node_modules/playwright-core/types/types.d.ts index 0bff9d3..d195697 100644 ---- a/node_modules/@playwright/test/node_modules/playwright-core/types/types.d.ts -+++ b/node_modules/@playwright/test/node_modules/playwright-core/types/types.d.ts +--- a/node_modules/playwright-core/types/types.d.ts ++++ b/node_modules/playwright-core/types/types.d.ts @@ -21813,6 +21813,7 @@ export interface Electron { * Additional arguments to pass to the application when launching. You typically pass the main script name here. */