enable appimage without creating release

This commit is contained in:
Martin Rotter 2025-05-12 09:07:05 +02:00
parent 83fed6b7cd
commit 9547510ffe

View file

@ -87,21 +87,30 @@ if [ $is_linux = true ]; then
appstreamcli validate "$prefix/share/metainfo/$app_id.metainfo.xml" appstreamcli validate "$prefix/share/metainfo/$app_id.metainfo.xml"
## Obtain appimagetool. ## Obtain appimagetool.
#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) 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" wget -c "https://github.com/$appimagetool_file"
#chmod +x appimagetool-*.AppImage chmod +x appimagetool-*.AppImage
#mv appimagetool-*.AppImage appimagetool.AppImage mv appimagetool-*.AppImage appimagetool.AppImage
#export VERSION=1.0
#./appimagetool.AppImage -s deploy AppDir/usr/share/applications/*.desktop export VERSION=1.0
#./appimagetool.AppImage ./AppDir
GH_TKN=$GITHUB_TOKEN
unset GITHUB_TOKEN
./appimagetool.AppImage -s deploy AppDir/usr/share/applications/*.desktop
./appimagetool.AppImage ./AppDir
export GITHUB_TOKEN=$GH_TKN
## Rename AppImaage. ## Rename AppImaage.
#set -- R*.AppImage set -- R*.AppImage
#imagename="$1" imagename="$1"
#if [[ "$webengine" == "ON" ]]; then
# imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage" if [[ "$webengine" == "ON" ]]; then
#else imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage"
# imagenewname="rssguard-${git_tag}-${git_revision}-lite-linux64.AppImage" else
#fi imagenewname="rssguard-${git_tag}-${git_revision}-lite-linux64.AppImage"
fi
else else
# Fix .dylib linking. # Fix .dylib linking.
otool -L "$prefix/Contents/MacOS/rssguard" otool -L "$prefix/Contents/MacOS/rssguard"