Commit 05d7c36c authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #216: nw.js arm package name inconsistency breaks build on arm devices

parent 59c867e5
......@@ -98,7 +98,12 @@ if [ ! -d "../pd/nw/nw" ]; then
tar -xf $nwjs_filename
mv $nwjs_dirname ../pd/nw/nw
# Special case for arm binary's inconsistent directory name
# (It's not the same as the `uname -m` output)
if [ `uname -m` == "armv7l" ]; then
nwjs_dirname=`echo $nwjs_dirname | sed 's/armv7l/arm/'`
mv $nwjs_dirname ../pd/nw/nw
# make sure the nw binary is executable on GNU/Linux and OSX
if [[ $os != "win" ]]; then
chmod 755 ../pd/nw/nw/nw
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment