Merge pull request #203 from tyu1996/master

Changed from 'vscodium' to 'codium' in AppImage config file
This commit is contained in:
Peter Squicciarini 2019-06-22 09:54:25 -07:00 committed by GitHub
commit 1245596c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,13 +17,13 @@ ingredients:
script:
- pwd
- cp ../.build/linux/deb/amd64/deb/*.deb .
- ls vscodium_*.deb | cut -d _ -f 2 > VERSION
- ls codium_*.deb | cut -d _ -f 2 > VERSION
script:
- sed -i -e 's|/usr/share/vscodium/||g' usr/share/applications/vscodium.desktop
- sed -i -e 's|com.visualstudio.code.oss|vscodium|g' usr/share/applications/vscodium.desktop
- cp usr/share/applications/vscodium.desktop .
- cp usr/share/pixmaps/com.visualstudio.code.oss.png vscodium.png
- sed -i -e 's|/usr/share/codium/||g' usr/share/applications/codium.desktop
- sed -i -e 's|com.visualstudio.code.oss|vscodium|g' usr/share/applications/codium.desktop
- cp usr/share/applications/codium.desktop .
- cp usr/share/pixmaps/vscodium.png vscodium.png
- convert vscodium.png -resize 512x512 usr/share/icons/hicolor/512x512/apps/vscodium.png
- convert vscodium.png -resize 256x256 usr/share/icons/hicolor/256x256/apps/vscodium.png
- convert vscodium.png -resize 128x128 usr/share/icons/hicolor/128x128/apps/vscodium.png
@ -32,4 +32,4 @@ script:
- convert vscodium.png -resize 32x32 usr/share/icons/hicolor/32x32/apps/vscodium.png
- convert vscodium.png -resize 24x24 usr/share/icons/hicolor/24x24/apps/vscodium.png
- convert vscodium.png -resize 22x22 usr/share/icons/hicolor/22x22/apps/vscodium.png
- ( cd usr/bin/ ; ln -s ../share/vscodium/codium . )
- ( cd usr/bin/ ; ln -s ../share/codium/codium . )