mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-24 17:32:13 +03:00
fix(snap): replace substitution since not in bash [skip ci]
This commit is contained in:
parent
62d6c2d4f1
commit
778e36d118
@ -27,7 +27,7 @@ parts:
|
|||||||
rm -f latest.json
|
rm -f latest.json
|
||||||
rm -f "${SNAPCRAFT_PART_INSTALL}/${DEB}"
|
rm -f "${SNAPCRAFT_PART_INSTALL}/${DEB}"
|
||||||
# Set version
|
# Set version
|
||||||
snapcraftctl set-version "${VERSION/\-insider/}"
|
snapcraftctl set-version "$(echo "${VERSION}" | sed 's|\-insider||')"
|
||||||
# Correct path to icon.
|
# 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|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
|
sed -i 's|Exec=/usr/share/codium-insiders/codium-insiders|Exec=codium-insiders|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium-insiders.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user