소스 검색

fix(snap): add missing icons and add review before publish (#957)

Baptiste Augrain 3 년 전
부모
커밋
bbcdc2be11
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      .github/workflows/linux.yml
  2. 3 1
      stores/snapcraft/snap/snapcraft.yaml

+ 5 - 0
.github/workflows/linux.yml

@@ -130,6 +130,11 @@ jobs:
         id: build
         if: env.SHOULD_DEPLOY == 'yes'
 
+      - uses: diddlesnaps/snapcraft-review-action@v1
+        with:
+          snap: ${{ steps.build.outputs.snap }}
+          isClassic: 'true'
+
       - uses: snapcore/action-publish@v1
         with:
           store_login: ${{ secrets.SNAP_STORE_LOGIN }}

+ 3 - 1
stores/snapcraft/snap/snapcraft.yaml

@@ -52,6 +52,7 @@ parts:
       - libpcre3
       - libpulse0
       - libsecret-1-0
+      - libxshmfence1
       - libxss1
       - libxtst6
       - zlib1g
@@ -77,13 +78,14 @@ parts:
 apps:
   codium:
     command: electron-launch $SNAP/usr/share/codium/bin/codium --no-sandbox
-    common-id: codium.desktop
+    desktop: usr/share/applications/codium.desktop
     environment:
       DISABLE_WAYLAND: 1
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
 
   url-handler:
     command: electron-launch $SNAP/usr/share/codium/bin/codium --open-url --no-sandbox
+    desktop: usr/share/applications/codium-url-handler.desktop
     environment:
       DISABLE_WAYLAND: 1
       GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas