-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A launch script was added to ensure that the correct version of Nodejs is used The install script no longer sets up a default system Nodejs version
- Loading branch information
1 parent
77cf107
commit 03540c7
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# get this script's directory | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
cd $DIR | ||
# for some reason, even if `nvm` worked in the console | ||
# this script would error with `nvm command not found` | ||
source $NVM_DIR/nvm.sh | ||
# activate appropriate Nodejs version | ||
nvm use 5.0.0 | ||
# launch openframe! | ||
node frame.js "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters