Compare commits

..

3 Commits

Author SHA1 Message Date
das
112e4ac4c4 Merge pull request 'dev' (#6) from dev into main
Reviewed-on: #6
2025-03-19 16:30:52 +02:00
Anry Das
d7278803c0 Updates run.* scripts. Updated README.md 2025-03-19 16:29:39 +02:00
Anry Das
448a00eff8 Updates run.* scripts. Updated README.md 2025-03-19 16:29:09 +02:00
3 changed files with 8 additions and 4 deletions

View File

@ -27,8 +27,10 @@ That it.
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).
### 🚀 Launch<a id='Launch'/>
The application's distribution included run.cmd or run.sh depended on your OS. Just launch it.
Note: run.* script need to `JAVA_HOME` environment variable. If it doesn't provided made changes into script to include full path to JRE.
First you need to set the `JFX_PATH` variable as full path to JavaFX in provided `run.*` script.<br/>
If you haven't the JavaFX you need to install it from [https://gluonhq.com/products/javafx/](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](help/images/main.png)

View File

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

View File

@ -1,2 +1,3 @@
#!/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 &