diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh index 9f465dab41d1d40c967e3ac2ed104c8fae256f8d..73b84c76eae67689f29932d47802422a74258144 100755 --- a/l2ork_addons/tar_em_up.sh +++ b/l2ork_addons/tar_em_up.sh @@ -60,6 +60,11 @@ if [ ! -d "../pd/nw/nw" ]; then arch="x64" fi + # for rpi + if [ `uname -m` -eq "armv7l" ]; then + arch="armv7l" + fi + if [[ $os == "win" ]]; then ext="zip" # We need the lts version to be able to run on XP. For @@ -67,7 +72,12 @@ if [ ! -d "../pd/nw/nw" ]; then nwjs_version="v0.14.7" else ext="tar.gz" - nwjs_version="v0.16.1" + # temporary kluge for rpi-- only 0.15.1 is available atm + if [ `uname -m` -eq "armv7l" ]; then + nwjs_version="v0.15.1" + else + nwjs_version="v0.16.1" + fi fi nwjs="nwjs-sdk"