mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8fd58d690 |
@@ -40,18 +40,12 @@ cp "$work/raea/README" "$appdir/usr/share/doc/raea/README-linux"
|
||||
# The bundler is opened with dlopen beside raea, so keep it in usr/bin and ask
|
||||
# linuxdeploy to process its dependencies there, rather than move it to usr/lib.
|
||||
# A pinned linuxdeploy also carries its AppImage output plugin and appimagetool.
|
||||
# A pinned tool from its GitHub release, else raea's own copy of it (media.raea.io/build): the runner got HTTP 618 for
|
||||
# the runtime three times in a row while it downloaded from anywhere else (v0.1.15-rc1, 12-01), and the Linux archive
|
||||
# waits on this script. Either copy is held to the checksum below.
|
||||
fetch() {
|
||||
curl -fLsS --retry 3 --retry-all-errors "$1" -o "$3" || curl -fLsS --retry 3 --retry-all-errors "https://media.raea.io/build/$2" -o "$3"
|
||||
}
|
||||
deploy_version=1-alpha-20251107-1
|
||||
deploy_sha=c20cd71e3a4e3b80c3483cef793cda3f4e990aca14014d23c544ca3ce1270b4d
|
||||
# An existing download can be supplied for offline packaging; it is still verified.
|
||||
deploy=${RAEA_LINUXDEPLOY:-$work/linuxdeploy-x86_64.AppImage}
|
||||
if [[ -z ${RAEA_LINUXDEPLOY:-} ]]; then
|
||||
fetch "https://github.com/linuxdeploy/linuxdeploy/releases/download/$deploy_version/linuxdeploy-x86_64.AppImage" "linuxdeploy/$deploy_version/linuxdeploy-x86_64.AppImage" "$deploy"
|
||||
curl -fLsS --retry 3 "https://github.com/linuxdeploy/linuxdeploy/releases/download/$deploy_version/linuxdeploy-x86_64.AppImage" -o "$deploy"
|
||||
fi
|
||||
deploy=$(realpath "$deploy")
|
||||
echo "$deploy_sha $deploy" | sha256sum -c -
|
||||
@@ -61,7 +55,7 @@ runtime_version=20251108
|
||||
runtime_sha=2fca8b443c92510f1483a883f60061ad09b46b978b2631c807cd873a47ec260d
|
||||
runtime=${RAEA_APPIMAGE_RUNTIME:-$work/runtime-x86_64}
|
||||
if [[ -z ${RAEA_APPIMAGE_RUNTIME:-} ]]; then
|
||||
fetch "https://github.com/AppImage/type2-runtime/releases/download/$runtime_version/runtime-x86_64" "type2-runtime/$runtime_version/runtime-x86_64" "$runtime"
|
||||
curl -fLsS --retry 3 "https://github.com/AppImage/type2-runtime/releases/download/$runtime_version/runtime-x86_64" -o "$runtime"
|
||||
fi
|
||||
runtime=$(realpath "$runtime")
|
||||
echo "$runtime_sha $runtime" | sha256sum -c -
|
||||
|
||||
Reference in new issue
Block a user