Fixing python in AppImage (#773)

- overwrite AppRun to remove the env variables `PYTHONHOME` and `PYTHONPATH`
- update building script to it can be build manually in docker
This commit is contained in:
Baptiste Augrain
2021-07-23 10:01:38 +02:00
committed by GitHub
parent 30313a518b
commit 98372f9d1e
2 changed files with 17 additions and 1 deletions

View File

@@ -10,9 +10,13 @@ if [[ "$VSCODE_ARCH" == "x64" ]]; then
chmod +x ./pkg2appimage-*.AppImage
./pkg2appimage-*.AppImage --appimage-extract && mv ./squashfs-root ./pkg2appimage.AppDir
# add update's url
sed -i 's/generate_type2_appimage/generate_type2_appimage -u "gh-releases-zsync|VSCodium|vscodium|latest|*.AppImage.zsync"/' pkg2appimage.AppDir/AppRun
# remove check so build in docker can succeed
sed -i 's/grep docker/# grep docker/' pkg2appimage.AppDir/usr/share/pkg2appimage/functions.sh
bash -ex pkg2appimage.AppDir/AppRun VSCodium-AppImage-Recipe.yml
fi