Update README.md

This commit is contained in:
Diego Giagio 2018-10-16 11:30:27 +02:00 committed by GitHub
parent ee7810c03b
commit d78ecaf00f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.