disable stupid appimagetool deployment completely, now, the flatpak will be official for linux or compile.
This commit is contained in:
parent
4d9ba6e13a
commit
f46957f843
3 changed files with 23 additions and 26 deletions
2
.github/workflows/rssguard.yml
vendored
2
.github/workflows/rssguard.yml
vendored
|
@ -46,8 +46,6 @@ jobs:
|
||||||
exclude:
|
exclude:
|
||||||
- os: ubuntu-24.04
|
- os: ubuntu-24.04
|
||||||
use_qt5: "ON"
|
use_qt5: "ON"
|
||||||
- os: ubuntu-24.04
|
|
||||||
no_lite: "ON"
|
|
||||||
- os: macos-13
|
- os: macos-13
|
||||||
use_qt5: "ON"
|
use_qt5: "ON"
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -20,3 +20,7 @@ cmake --build build-dir -j$(nproc)
|
||||||
# (Optional) Install RSS Guard system-wide
|
# (Optional) Install RSS Guard system-wide
|
||||||
sudo make -C build-dir install
|
sudo make -C build-dir install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```{warning}
|
||||||
|
Note that on Mac OS X, in some cases, you have to self-sign the application via `codesign` utility to make the application run.
|
||||||
|
```
|
|
@ -86,27 +86,22 @@ if [ $is_linux = true ]; then
|
||||||
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.
|
||||||
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
|
||||||
|
## Rename AppImaage.
|
||||||
./appimagetool.AppImage -s deploy AppDir/usr/share/applications/*.desktop
|
#set -- R*.AppImage
|
||||||
./appimagetool.AppImage ./AppDir
|
#imagename="$1"
|
||||||
|
#if [[ "$webengine" == "ON" ]]; then
|
||||||
# Rename AppImaage.
|
# imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage"
|
||||||
set -- R*.AppImage
|
#else
|
||||||
imagename="$1"
|
# imagenewname="rssguard-${git_tag}-${git_revision}-lite-linux64.AppImage"
|
||||||
|
#fi
|
||||||
if [[ "$webengine" == "ON" ]]; then
|
|
||||||
imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage"
|
|
||||||
else
|
|
||||||
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"
|
||||||
|
@ -131,7 +126,7 @@ else
|
||||||
else
|
else
|
||||||
imagenewname="rssguard-${git_tag}-${git_revision}-lite-mac64.dmg"
|
imagenewname="rssguard-${git_tag}-${git_revision}-lite-mac64.dmg"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
mv "$imagename" "$imagenewname"
|
mv "$imagename" "$imagenewname"
|
||||||
ls
|
ls
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue