Update README.md
This commit is contained in:
parent
ee7810c03b
commit
d78ecaf00f
12
README.md
12
README.md
@ -35,7 +35,7 @@ dgiagio@X1:~/Devel/myapp$ rm -r node-v8.12.0-linux-x64/include node-v8.12.0-linu
|
||||
dgiagio@X1:~/Devel/myapp$ rm node-v8.12.0-linux-x64/bin/npm node-v8.12.0-linux-x64/bin/npx
|
||||
```
|
||||
|
||||
**Create launcher script*** - `launch`
|
||||
**Create launcher script** - `launch`
|
||||
```sh
|
||||
#!/bin/sh
|
||||
|
||||
@ -50,6 +50,11 @@ APP_MAIN_JS_PATH=$DIR/$APP_MAIN_JS
|
||||
exec $NODE_EXE $APP_MAIN_JS_PATH $@
|
||||
```
|
||||
|
||||
**Make the launcher script executable**
|
||||
```sh
|
||||
dgiagio@X1:~/Devel/myapp$ chmod +x launch
|
||||
```
|
||||
|
||||
**Download `warp-packer`**
|
||||
|
||||
If you save `warp-packer` in a directory in your PATH, you only need to download it once.
|
||||
@ -130,6 +135,11 @@ APP_MAIN_JS_PATH=$DIR/$APP_MAIN_JS
|
||||
exec "$NODE_EXE" "$APP_MAIN_JS_PATH" $@
|
||||
```
|
||||
|
||||
**Make the launcher script executable**
|
||||
```sh
|
||||
Diegos-iMac:myapp dgiagio$ chmod +x launch
|
||||
```
|
||||
|
||||
**Download `warp-packer`**
|
||||
|
||||
If you save `warp-packer` in a directory in your PATH, you only need to download it once.
|
||||
|
Loading…
Reference in New Issue
Block a user