bugfix AppImage creation

This commit is contained in:
DanielDevBR 2020-10-16 22:20:13 -03:00
parent a9b505f228
commit f9c7df01ad
2 changed files with 9 additions and 9 deletions

View file

@ -1,9 +1,9 @@
#!/bin/bash
# if [[ "$VSCODE_ARCH" == "x64" ]]; then
# # install a dep needed for this process
# sudo apt-get install desktop-file-utils
#
# cd ..
#
# bash -e src/resources/linux/appimage/pkg2appimage VSCodium-AppImage-Recipe.yml
# fi
if [[ "$VSCODE_ARCH" == "x64" ]]; then
# install a dep needed for this process
sudo apt-get install desktop-file-utils
cd ..
export DOCKER_BUILD=1
bash -e src/resources/linux/appimage/pkg2appimage VSCodium-AppImage-Recipe.yml
fi

View file

@ -187,7 +187,7 @@ generate_appimage()
mkdir -p ../out || true
rm ../out/$APP"-"$VERSION".glibc"$GLIBC_NEEDED"-"$ARCH".AppImage" 2>/dev/null || true
GLIBC_NEEDED=$(glibc_needed)
./AppImageAssistant ./$APP.AppDir/ ../out/$APP"-"$VERSION".glibc"$GLIBC_NEEDED"-"$ARCH".AppImage"
./AppImageAssistant --appimage-extract-and-run ./$APP.AppDir/ ../out/$APP"-"$VERSION".glibc"$GLIBC_NEEDED"-"$ARCH".AppImage"
}
# Generate AppImage type 2