Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,12 @@ if [ ! -d "../pd/nw/nw" ]; then
else
tar -xf $nwjs_filename
fi
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/'`
fi
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
......
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