Skip to content
Snippets Groups Projects
Commit abb01e4b authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

accommodate rpi for nwjs binary download

parent 7d4cf043
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,11 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -60,6 +60,11 @@ if [ ! -d "../pd/nw/nw" ]; then
arch="x64" arch="x64"
fi fi
# for rpi
if [ `uname -m` -eq "armv7l" ]; then
arch="armv7l"
fi
if [[ $os == "win" ]]; then if [[ $os == "win" ]]; then
ext="zip" ext="zip"
# We need the lts version to be able to run on XP. For # We need the lts version to be able to run on XP. For
...@@ -67,7 +72,12 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -67,7 +72,12 @@ if [ ! -d "../pd/nw/nw" ]; then
nwjs_version="v0.14.7" nwjs_version="v0.14.7"
else else
ext="tar.gz" 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 fi
nwjs="nwjs-sdk" nwjs="nwjs-sdk"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment