fix(snap): rename parts and use short version (#1241)
This commit is contained in:
parent
10f95cda32
commit
2530990d15
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue