Updates run.* scripts. Updated README.md
This commit is contained in:
parent
7de68dd86d
commit
448a00eff8
@ -27,8 +27,10 @@ That it.
|
|||||||
You can download archive from [Releases section](https://github.com/anrydas/NovaPoshta/releases) or clone the repository.
|
You can download archive from [Releases section](https://github.com/anrydas/NovaPoshta/releases) or clone the repository.
|
||||||
Find full application's documentation at: [Ukrainian](help/uk/help.md) and [English](help/en/help.md).
|
Find full application's documentation at: [Ukrainian](help/uk/help.md) and [English](help/en/help.md).
|
||||||
### 🚀 Launch<a id='Launch'/>
|
### 🚀 Launch<a id='Launch'/>
|
||||||
The application's distribution included run.cmd or run.sh depended on your OS. Just launch it.
|
First you need to set the `JFX_PATH` variable as full path to JavaFX in provided `run.*` script.<br/>
|
||||||
Note: run.* script need to `JAVA_HOME` environment variable. If it doesn't provided made changes into script to include full path to JRE.
|
If you haven't the JavaFX you need to install it from https://gluonhq.com/products/javafx/<br/>
|
||||||
|
The application's distribution included run.cmd or run.sh depended on your OS. Just launch it.<br/>
|
||||||
|
Note: `run.*` script need to `JAVA_HOME` environment variable. If it doesn't provided made changes into script to include full path to JRE.
|
||||||
### 📜 Main Window<a id='MainWin'/>
|
### 📜 Main Window<a id='MainWin'/>
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
start %JAVA_HOME%\bin\javaw.exe -jar NovaPoshta.jar
|
JFX_PATH=full_path_to_jfx
|
||||||
|
start %JAVA_HOME%\bin\javaw.exe --module-path %JFX_PATH%\lib --add-modules javafx.controls,javafx.fxml -jar NovaPoshta.jar
|
||||||
|
|||||||
@ -1,2 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
${JAVA_HOME}/bin/java -jar NovaPoshta.jar &
|
JFX_PATH=/full/path/to/jfx
|
||||||
|
${JAVA_HOME}/bin/java ${JFX_PATH}/lib --add-modules javafx.controls,javafx.fxm -jar NovaPoshta.jar &
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user