瀏覽代碼

fix(snap): enable wayland (#1268)

miromarszal 2 年之前
父節點
當前提交
6471151e96
共有 2 個文件被更改,包括 0 次插入4 次删除
  1. 0 2
      stores/snapcraft/insider/snap/snapcraft.yaml
  2. 0 2
      stores/snapcraft/stable/snap/snapcraft.yaml

+ 0 - 2
stores/snapcraft/insider/snap/snapcraft.yaml

@@ -77,12 +77,10 @@ apps:
     command: electron-launch $SNAP/usr/share/codium/bin/codium --no-sandbox
     command: electron-launch $SNAP/usr/share/codium/bin/codium --no-sandbox
     desktop: usr/share/applications/codium.desktop
     desktop: usr/share/applications/codium.desktop
     environment:
     environment:
-      DISABLE_WAYLAND: 1
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
 
 
   url-handler:
   url-handler:
     command: electron-launch $SNAP/usr/share/codium/bin/codium --open-url --no-sandbox
     command: electron-launch $SNAP/usr/share/codium/bin/codium --open-url --no-sandbox
     desktop: usr/share/applications/codium-url-handler.desktop
     desktop: usr/share/applications/codium-url-handler.desktop
     environment:
     environment:
-      DISABLE_WAYLAND: 1
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas

+ 0 - 2
stores/snapcraft/stable/snap/snapcraft.yaml

@@ -77,12 +77,10 @@ apps:
     command: electron-launch $SNAP/usr/share/codium/bin/codium --no-sandbox
     command: electron-launch $SNAP/usr/share/codium/bin/codium --no-sandbox
     desktop: usr/share/applications/codium.desktop
     desktop: usr/share/applications/codium.desktop
     environment:
     environment:
-      DISABLE_WAYLAND: 1
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
 
 
   url-handler:
   url-handler:
     command: electron-launch $SNAP/usr/share/codium/bin/codium --open-url --no-sandbox
     command: electron-launch $SNAP/usr/share/codium/bin/codium --open-url --no-sandbox
     desktop: usr/share/applications/codium-url-handler.desktop
     desktop: usr/share/applications/codium-url-handler.desktop
     environment:
     environment:
-      DISABLE_WAYLAND: 1
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas