fix(appimage): remove extraneous libs (#944)
This commit is contained in:
parent
3f00a255b1
commit
353c002605
2 changed files with 5 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -2,6 +2,9 @@ vscode
|
||||||
VS*/*
|
VS*/*
|
||||||
.DS_Store
|
.DS_Store
|
||||||
build/linux/appimage/out
|
build/linux/appimage/out
|
||||||
|
build/linux/appimage/pkg2appimage.AppDir
|
||||||
|
build/linux/appimage/pkg2appimage-*.AppImage
|
||||||
|
build/linux/appimage/VSCodium
|
||||||
build/windows/msi/releasedir
|
build/windows/msi/releasedir
|
||||||
build/windows/rtf/Readme (Abridged).txt
|
build/windows/rtf/Readme (Abridged).txt
|
||||||
build/windows/rtf/TXT to RTF Converter.exe
|
build/windows/rtf/TXT to RTF Converter.exe
|
||||||
|
|
|
@ -30,11 +30,12 @@ script:
|
||||||
- /usr/bin/convert vscodium.png -resize 48x48 usr/share/icons/hicolor/48x48/apps/vscodium.png
|
- /usr/bin/convert vscodium.png -resize 48x48 usr/share/icons/hicolor/48x48/apps/vscodium.png
|
||||||
- /usr/bin/convert vscodium.png -resize 32x32 usr/share/icons/hicolor/32x32/apps/vscodium.png
|
- /usr/bin/convert vscodium.png -resize 32x32 usr/share/icons/hicolor/32x32/apps/vscodium.png
|
||||||
- ( cd usr/bin/ ; ln -s ../share/codium/codium . )
|
- ( cd usr/bin/ ; ln -s ../share/codium/codium . )
|
||||||
|
- rm -rf usr/lib/x86_64-linux-gnu
|
||||||
- cat > AppRun <<\EOF
|
- cat > AppRun <<\EOF
|
||||||
- #!/bin/sh
|
- #!/bin/sh
|
||||||
- HERE="$(dirname "$(readlink -f "${0}")")"
|
- HERE="$(dirname "$(readlink -f "${0}")")"
|
||||||
- export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/sbin/:"${HERE}"/usr/games/:"${HERE}"/bin/:"${HERE}"/sbin/:"${PATH}"
|
- export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/sbin/:"${HERE}"/usr/games/:"${HERE}"/bin/:"${HERE}"/sbin/:"${PATH}"
|
||||||
- export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
|
- export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
|
||||||
- export XDG_DATA_DIRS="${HERE}"/usr/share/:"${XDG_DATA_DIRS}"
|
- export XDG_DATA_DIRS="${HERE}"/usr/share/:"${XDG_DATA_DIRS}"
|
||||||
- export PERLLIB="${HERE}"/usr/share/perl5/:"${HERE}"/usr/lib/perl5/:"${PERLLIB}"
|
- export PERLLIB="${HERE}"/usr/share/perl5/:"${HERE}"/usr/lib/perl5/:"${PERLLIB}"
|
||||||
- export GSETTINGS_SCHEMA_DIR="${HERE}"/usr/share/glib-2.0/schemas/:"${GSETTINGS_SCHEMA_DIR}"
|
- export GSETTINGS_SCHEMA_DIR="${HERE}"/usr/share/glib-2.0/schemas/:"${GSETTINGS_SCHEMA_DIR}"
|
||||||
|
|
Loading…
Reference in a new issue