File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ tgta14=14.21.3 # need armv6l latest from https://unofficial-builds.nodejs.org/
2424tgtl14=14.21.3 # need x86 latest from https://unofficial-builds.nodejs.org/download/release/
2525tgta16=16.20.2 # need armv6l latest from https://unofficial-builds.nodejs.org/download/release/
2626tgtl16=16.20.2 # need x86 latest from https://unofficial-builds.nodejs.org/download/release/
27- tgta18=18.20.6 # need armv6l latest from https://unofficial-builds.nodejs.org/download/release/
28- tgtl18=18.20.6 # need x86 latest from https://unofficial-builds.nodejs.org/download/release/
29- tgta20=20.18.3 # need armv6l latest from https://unofficial-builds.nodejs.org/download/release/
30- tgtl20=20.18.3 # need x86 latest from https://unofficial-builds.nodejs.org/download/release/
27+ tgta18=18.20.8 # need armv6l latest from https://unofficial-builds.nodejs.org/download/release/
28+ tgtl18=18.20.8 # need x86 latest from https://unofficial-builds.nodejs.org/download/release/
29+ tgta20=20.19.1 # need armv6l latest from https://unofficial-builds.nodejs.org/download/release/
30+ tgtl20=20.19.1 # need x86 latest from https://unofficial-builds.nodejs.org/download/release/
3131
3232usage () {
3333 cat << EOL
@@ -217,6 +217,7 @@ if [ "$EUID" == "0" ]; then
217217 [ ! " ${yn} " ] && read -t 10 -p " Are you really sure you want to install as root ? (y/N) ? " yn
218218 case $yn in
219219 [Yy]* )
220+ NODERED_USER=" root"
220221 ;;
221222 * )
222223 echo " "
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ User=pi
1212Group =pi
1313WorkingDirectory =/home/pi
1414
15+ Environment ="XDG_RUNTIME_DIR=/run/user/%U"
1516Environment ="NODE_OPTIONS=--max_old_space_size=512"
1617# define an optional environment file in Node-RED's user directory to set custom variables externally
1718EnvironmentFile =-/home/pi/.node-red/environment
You can’t perform that action at this time.
0 commit comments