Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Srashti Mittal
purr-data
Commits
b095e045
Commit
b095e045
authored
Apr 07, 2020
by
Jonathan Wilkes
Browse files
use the armv7l nw.js binary for aarch64. Seems to work on Pinebook Pro :)
parent
c94655ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
l2ork_addons/tar_em_up.sh
View file @
b095e045
...
...
@@ -174,6 +174,11 @@ if [ ! -d "../pd/nw/nw" ]; then
arch
=
"armv7l"
fi
# for pinebook, probably also rpi 4
if
[
`
uname
-m
`
==
"aarch64"
]
;
then
arch
=
"armv7l"
fi
if
[[
$os
==
"win"
||
$os
==
"osx"
]]
;
then
ext
=
"zip"
else
...
...
@@ -186,7 +191,7 @@ if [ ! -d "../pd/nw/nw" ]; then
nwjs_version
=
"v0.14.7"
else
# 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"
else
nwjs_version
=
"v0.24.4"
...
...
@@ -213,7 +218,7 @@ if [ ! -d "../pd/nw/nw" ]; then
fi
# Special case for arm binary's inconsistent directory name
# (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/'
`
fi
mv
$nwjs_dirname
../pd/nw/nw
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment