mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Fix AppImage generation from within the docker container.
This commit is contained in:
2
.github/workflows/ecode-nightly.yml
vendored
2
.github/workflows/ecode-nightly.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
||||
bash projects/scripts/patch_commit_number.sh
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get install -y curl libfuse2 fuse premake4 mesa-common-dev libgl1-mesa-dev sudo
|
||||
apt-get install -y curl libfuse2 fuse premake4 mesa-common-dev libgl1-mesa-dev sudo file appstream
|
||||
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
apt-get install -y nodejs
|
||||
add-apt-repository -y universe
|
||||
|
||||
@@ -110,9 +110,10 @@ export APPIMAGETOOL="appimagetool"
|
||||
|
||||
if ! command -v appimagetool &> /dev/null
|
||||
then
|
||||
wget -nc "https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-$(arch).AppImage"
|
||||
APPIMAGETOOL="./appimagetool-$(arch).AppImage"
|
||||
chmod +x "$APPIMAGETOOL"
|
||||
wget -nc "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$(arch).AppImage"
|
||||
chmod +x "./appimagetool-$(arch).AppImage"
|
||||
./appimagetool-"$(arch)".AppImage --appimage-extract
|
||||
APPIMAGETOOL="./squashfs-root/AppRun"
|
||||
fi
|
||||
|
||||
ECODE_NAME=ecode-linux-"$ECODE_VERSION"-"$ARCH"
|
||||
@@ -131,9 +132,10 @@ fi
|
||||
echo "Generating $ECODE_NAME.AppImage"
|
||||
$APPIMAGETOOL ecode.app "$ECODE_NAME".AppImage
|
||||
|
||||
rm ecode.app/.DirIcon
|
||||
rm -f ecode.app/.DirIcon
|
||||
mv ecode.app/AppRun ecode.app/ecode
|
||||
mv ecode.app ecode
|
||||
rm -rf ./squashfs-root
|
||||
|
||||
echo "Generating $ECODE_NAME.tar.gz"
|
||||
tar -czf "$ECODE_NAME".tar.gz ecode
|
||||
|
||||
Reference in New Issue
Block a user