mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-25 16:46:36 +00:00
assets/nwjs.manifest: added to repository.
assets/release.sh:release(): check SHA256 sum of downloaded NW.js archives.
This commit is contained in:
parent
19200b8249
commit
b0f140d657
4
assets/nwjs.manifest
Normal file
4
assets/nwjs.manifest
Normal file
@ -0,0 +1,4 @@
|
||||
a9e66b292c80e86f51b616933e8491dad4007da1abe4a0ee85a3477edfd2750f releases/nwjs-v0.34.5-linux-ia32.tar.gz
|
||||
2d50bc19619e9a26ace46da3a4f3a4a0e9850920267300eb35759df4cb92e2b5 releases/nwjs-v0.34.5-linux-x64.tar.gz
|
||||
10409d5519662f25c1a97b027492da13cc42c8cc464c08b76de945969ae33413 releases/nwjs-v0.34.5-win-ia32.zip
|
||||
77138f6965ad1ae6eba3390e5c6403d3156431ac5247fac39f4491a7c625a216 releases/nwjs-v0.34.5-win-x64.zip
|
@ -3,6 +3,7 @@
|
||||
|
||||
PACKAGE_NAME="asciiblaster";
|
||||
RELEASE_DEPS="cpio find gunzip rm sed tar unzip wget zip";
|
||||
NWJS_MANIFEST_FNAME="assets/nwjs.manifest";
|
||||
NWJS_PLATFORMS="linux-ia32 linux-x64 win-ia32 win-x64";
|
||||
NWJS_VERSION="0.34.5";
|
||||
NWJS_SUBDIR="nwjs-v${NWJS_VERSION}-%NWJS_PLATFORM%";
|
||||
@ -51,6 +52,9 @@ release() {
|
||||
else
|
||||
wget -cO "${_nwjs_fname}" "${_nwjs_url}";
|
||||
fi;
|
||||
if ! sha256sum --ignore-missing -c --status "${NWJS_MANIFEST_FNAME}"; then
|
||||
echo "error: SHA256 sum mismatch for \`${_nwjs_fname}'" >&2; return 1;
|
||||
fi;
|
||||
rm -rf "${_release_dname}"; mkdir -p "${_release_dname}"; extract "${_nwjs_fname}" "${_release_dname}";
|
||||
|
||||
cd "${_release_dname}/${_nwjs_subdir}";
|
||||
|
Loading…
Reference in New Issue
Block a user