Runtime checks

- Check for presence of WX when running a GUI app
- Ensure current Erlang runtime matches bytecode on Linux
This commit is contained in:
2022-01-31 20:18:44 +09:00
parent 839f59c321
commit 30f1c04325
56 changed files with 93 additions and 35 deletions
+8 -1
View File
@@ -6,8 +6,15 @@
version=0.12.3
zx="zx-$version"
tarball="$zx.tar.gz"
target="https://zxq9.com/projects/zomp/$tarball"
if command -v wget &> /dev/null
then
wget -nv "$target"
else
curl -s "$target" --output "$tarball"
fi
wget -nv "https://zxq9.com/projects/zomp/$tarball"
tar -zxf "$tarball"
cd "$zx"
chmod +x install