File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # get this script's directory
4
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
5
+
6
+ cd $DIR
7
+ # for some reason, even if `nvm` worked in the console
8
+ # this script would error with `nvm command not found`
9
+ source $NVM_DIR /nvm.sh
10
+ # activate appropriate Nodejs version
11
+ nvm use 5.0.0
12
+ # launch openframe!
13
+ node frame.js " $@ "
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | sh
15
15
source ~ /.nvm/nvm.sh
16
16
# install latest tested stable Nodejs
17
17
nvm install 5.0.0
18
- # set 5.0.0 as default system Nodejs version
19
- # this means 5.0.0 will be in the $PATH when you boot
20
- nvm alias default 5.0.0
21
18
22
19
# install chromium from package repository
23
20
sudo apt-get update
You can’t perform that action at this time.
0 commit comments