mirror of https://github.com/hykilpikonna/AquaDX
Merge branch 'master' into 'master'
Compile standalone distribution package See merge request domeori/aqua!9pull/1/head
commit
05141e59ad
10
README.md
10
README.md
|
@ -17,10 +17,10 @@ Read [game specific notes](docs/game_specific_notes.md) for more information.
|
|||
|
||||
### Usage:
|
||||
Requirements:
|
||||
* Java 11 or above
|
||||
* Java 11 or above (for running JAR)
|
||||
* Optional: MariaDB (preferred) or MySQL (<8.0)
|
||||
|
||||
Run `java -jar aqua.jar` or use the `start.bat` if you are using windows.
|
||||
Run `java -jar aqua-x.x.xx-RELEASE.jar` or `aqua-x.x.xx-RELEASE.exe` (on Windows)
|
||||
|
||||
By default, Aqua will use sqlite and save user data in data/db.sqlite.
|
||||
|
||||
|
@ -29,7 +29,7 @@ If you want to MariaDB (or MySQL <8.0), edit configuration then it will auto cre
|
|||
Please go to the database migration tool's website to check if your database version is being supported https://flywaydb.org/documentation/database/mariadb
|
||||
|
||||
### Configuration:
|
||||
Configuration is save in `application.properties`
|
||||
Configuration is saved in `config/application.properties`, spring loads this file automatically.
|
||||
|
||||
* The host and port of game title servers can be overritten in `allnet.server.host` and `allnet.server.port`. By default it will send the same host and port the client used the request this information.
|
||||
This will be send to the game at booting and being used by following request.
|
||||
|
@ -41,9 +41,7 @@ You need to install JDK on your system. However, you don't need to care about Ma
|
|||
```
|
||||
mvnw package
|
||||
```
|
||||
The output jar will be in `target` folder.
|
||||
|
||||
Currently, there is no script for making distribution package automatically.
|
||||
The `target` folder will contain an uberjar and standalone distribution package with JRE included.
|
||||
|
||||
### Credit:
|
||||
* **samnyan**
|
||||
|
|
29
pom.xml
29
pom.xml
|
@ -121,6 +121,35 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.github.fvarrui</groupId>
|
||||
<artifactId>javapackager</artifactId>
|
||||
<version>1.6.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>package</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<name>${artifactId}-${version}</name>
|
||||
<mainClass>icu.samnyan.aqua.AquaServerApplication</mainClass>
|
||||
<bundleJre>true</bundleJre>
|
||||
<customizedJre>false</customizedJre>
|
||||
<generateInstaller>false</generateInstaller>
|
||||
<administratorRequired>false</administratorRequired>
|
||||
<platform>auto</platform>
|
||||
<additionalResources>
|
||||
<additionalResource>config</additionalResource>
|
||||
<additionalResource>data</additionalResource>
|
||||
</additionalResources>
|
||||
<winConfig>
|
||||
<headerType>console</headerType>
|
||||
</winConfig>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
Loading…
Reference in New Issue