enable appimage without creating release
This commit is contained in:
parent
83fed6b7cd
commit
9547510ffe
1 changed files with 23 additions and 14 deletions
|
@ -87,21 +87,30 @@ if [ $is_linux = true ]; then
|
|||
appstreamcli validate "$prefix/share/metainfo/$app_id.metainfo.xml"
|
||||
|
||||
## 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)
|
||||
#wget -c "https://github.com/$appimagetool_file"
|
||||
#chmod +x appimagetool-*.AppImage
|
||||
#mv appimagetool-*.AppImage appimagetool.AppImage
|
||||
#export VERSION=1.0
|
||||
#./appimagetool.AppImage -s deploy AppDir/usr/share/applications/*.desktop
|
||||
#./appimagetool.AppImage ./AppDir
|
||||
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
|
||||
mv appimagetool-*.AppImage appimagetool.AppImage
|
||||
|
||||
export VERSION=1.0
|
||||
|
||||
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.
|
||||
#set -- R*.AppImage
|
||||
#imagename="$1"
|
||||
#if [[ "$webengine" == "ON" ]]; then
|
||||
# imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage"
|
||||
#else
|
||||
# imagenewname="rssguard-${git_tag}-${git_revision}-lite-linux64.AppImage"
|
||||
#fi
|
||||
set -- R*.AppImage
|
||||
imagename="$1"
|
||||
|
||||
if [[ "$webengine" == "ON" ]]; then
|
||||
imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage"
|
||||
else
|
||||
imagenewname="rssguard-${git_tag}-${git_revision}-lite-linux64.AppImage"
|
||||
fi
|
||||
else
|
||||
# Fix .dylib linking.
|
||||
otool -L "$prefix/Contents/MacOS/rssguard"
|
||||
|
|
Loading…
Add table
Reference in a new issue