ubuntu build

This commit is contained in:
Martin Rotter 2025-04-17 09:59:16 +02:00
parent 5e0854c2de
commit 4954056530

View file

@ -85,14 +85,18 @@ if [ $is_linux = true ]; then
# Validate AppStream metadata. # Validate AppStream metadata.
echo 'Validating AppStream metadata...' echo 'Validating AppStream metadata...'
appstreamcli validate "$prefix/share/metainfo/$app_id.metainfo.xml" appstreamcli validate "$prefix/share/metainfo/$app_id.metainfo.xml"
# Obtain appimagetool. # Obtain appimagetool.
wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2) appimagetool_file=$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
wget -c "https://github.com/$appimagetool_file"
chmod +x appimagetool-*.AppImage chmod +x appimagetool-*.AppImage
mv appimagetool-*.AppImage appimagetool.AppImage
VERSION=1.0 export VERSION=1.0
./appimagetool-*.AppImage -s deploy AppDir/usr/share/applications/*.desktop ./appimagetool.AppImage -s deploy AppDir/usr/share/applications/*.desktop
./appimagetool-*.AppImage ./AppDir ./appimagetool.AppImage ./AppDir
# Rename AppImaage. # Rename AppImaage.
set -- R*.AppImage set -- R*.AppImage