mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
desktop: fix `'environment/DISABLE_WAYLAND' property does not match the
required schema`
This commit is contained in:
13
apps/desktop/patches/app-builder-lib+26.0.12.patch
Normal file
13
apps/desktop/patches/app-builder-lib+26.0.12.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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: [
|
||||||
Reference in New Issue
Block a user