diff --git a/stores/snapcraft/insider/snap/snapcraft.yaml b/stores/snapcraft/insider/snap/snapcraft.yaml index be9c967..208bc96 100644 --- a/stores/snapcraft/insider/snap/snapcraft.yaml +++ b/stores/snapcraft/insider/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: codium-insiders -adopt-info: codium +adopt-info: codium-insiders summary: Code editing. Redefined. description: | Binary releases of Code without branding/telemetry/licensing @@ -10,7 +10,7 @@ confinement: classic compression: lzo parts: - codium: + codium-insiders: plugin: nil override-build: | set -eu @@ -27,7 +27,7 @@ parts: rm -f latest.json rm -f "${SNAPCRAFT_PART_INSTALL}/${DEB}" # Set version - snapcraftctl set-version "$VERSION" + snapcraftctl set-version "${VERSION/\-insider/)" # Correct path to icon. sed -i 's|Icon=vscodium-insiders|Icon=${SNAP}/usr/share/pixmaps/vscodium-insiders.png|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium-insiders.desktop sed -i 's|Exec=/usr/share/codium-insiders/codium-insiders|Exec=codium-insiders|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium-insiders.desktop @@ -68,7 +68,7 @@ parts: electron-launch: after: - - codium + - codium-insiders plugin: dump source: snap/local