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

use the armv7l nw.js binary for aarch64. Seems to work on Pinebook Pro :)

parent c94655ca
No related branches found
No related tags found
No related merge requests found
...@@ -174,6 +174,11 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -174,6 +174,11 @@ if [ ! -d "../pd/nw/nw" ]; then
arch="armv7l" arch="armv7l"
fi fi
# for pinebook, probably also rpi 4
if [ `uname -m` == "aarch64" ]; then
arch="armv7l"
fi
if [[ $os == "win" || $os == "osx" ]]; then if [[ $os == "win" || $os == "osx" ]]; then
ext="zip" ext="zip"
else else
...@@ -186,7 +191,7 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -186,7 +191,7 @@ if [ ! -d "../pd/nw/nw" ]; then
nwjs_version="v0.14.7" nwjs_version="v0.14.7"
else else
# temporary kluge for rpi-- only 0.15.1 is available atm # temporary kluge for rpi-- only 0.15.1 is available atm
if [ `uname -m` == "armv7l" ]; then if [ $arch == "armv7l" ]; then
nwjs_version="v0.17.6" nwjs_version="v0.17.6"
else else
nwjs_version="v0.24.4" nwjs_version="v0.24.4"
...@@ -213,7 +218,7 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -213,7 +218,7 @@ if [ ! -d "../pd/nw/nw" ]; then
fi fi
# Special case for arm binary's inconsistent directory name # Special case for arm binary's inconsistent directory name
# (It's not the same as the `uname -m` output) # (It's not the same as the `uname -m` output)
if [ `uname -m` == "armv7l" ]; then if [ $arch == "armv7l" ]; then
nwjs_dirname=`echo $nwjs_dirname | sed 's/armv7l/arm/'` nwjs_dirname=`echo $nwjs_dirname | sed 's/armv7l/arm/'`
fi fi
mv $nwjs_dirname ../pd/nw/nw mv $nwjs_dirname ../pd/nw/nw
......
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