2019-04-19 09:30:10 -04:00
|
|
|
# Based on
|
|
|
|
# https://github.com/AppImage/pkg2appimage/blob/master/recipes/VSCode.yml
|
|
|
|
#
|
|
|
|
# On a Debian/Ubuntu system:
|
|
|
|
# wget -c "https://github.com/AppImage/pkg2appimage/raw/master/pkg2appimage"
|
|
|
|
# bash -ex pkg2appimage VSCodium
|
|
|
|
|
|
|
|
app: VSCodium
|
|
|
|
|
|
|
|
ingredients:
|
|
|
|
packages:
|
|
|
|
- code
|
|
|
|
- libgconf2-4
|
|
|
|
dist: trusty
|
2019-05-29 02:36:16 -04:00
|
|
|
sources:
|
2019-04-19 09:30:10 -04:00
|
|
|
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
|
|
|
|
script:
|
|
|
|
- pwd
|
2019-12-08 17:51:53 -05:00
|
|
|
- cp ../vscode/.build/linux/deb/amd64/deb/*.deb .
|
2019-06-18 01:57:26 -04:00
|
|
|
- ls codium_*.deb | cut -d _ -f 2 > VERSION
|
2019-04-19 09:30:10 -04:00
|
|
|
|
|
|
|
script:
|
2020-03-31 08:53:57 -04:00
|
|
|
- sed -i -e 's|/usr/share/pixmaps/||g' usr/share/applications/codium.desktop
|
2019-06-18 01:57:26 -04:00
|
|
|
- cp usr/share/applications/codium.desktop .
|
2019-06-19 05:34:48 -04:00
|
|
|
- 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
|
|
|
|
- convert vscodium.png -resize 64x64 usr/share/icons/hicolor/64x64/apps/vscodium.png
|
|
|
|
- convert vscodium.png -resize 48x48 usr/share/icons/hicolor/48x48/apps/vscodium.png
|
|
|
|
- convert vscodium.png -resize 32x32 usr/share/icons/hicolor/32x32/apps/vscodium.png
|
2019-06-18 01:57:26 -04:00
|
|
|
- ( cd usr/bin/ ; ln -s ../share/codium/codium . )
|