Add option to install a generated distro to the local Helios data folder

* Run g distro with --installLocal to have the generated file be copied into the local helios data folder.
* New property required in the .env, HELIOS_DATA_FOLDER
* Added two launch configurations to vs code.
This commit is contained in:
Daniel Scalzi
2020-06-29 18:07:46 -04:00
parent c470c22f14
commit bac2480c1b
4 changed files with 78 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ Example
JAVA_EXECUTABLE=C:\Program Files\AdoptOpenJDK\jdk-8.0.232.09-hotspot\bin\java.exe
ROOT=D:\TestRoot2
BASE_URL=http://localhost:8080/
HELIOS_DATA_FOLDER=C:\Users\user\AppData\Roaming\Helios Launcher
```
## Usage
@@ -121,11 +122,20 @@ Arguments:
* `name` The name of the distribution file.
* OPTIONAL (default: `distribution`)
Options:
* `--installLocal` Have the application install a copy of the generated distribution to the Helios data folder.
* OPTIONAL (default: false)
* This is useful to easily test the new distribution.json in dev mode on Helios.
* Tip: Set name to `dev_distribution` when using this option.
>
> Example Usage
>
> `generate distro`
>
> `generate distro dev_distribution --installLocal`
>
---