From fbd0c482ada6beff48a4854a227527bbc5f5dff6 Mon Sep 17 00:00:00 2001 From: hydrogen2oxygen Date: Mon, 19 Dec 2022 12:45:22 +0100 Subject: [PATCH] start.bat bugfix for java runtime encoding forced to utf-8 --- .github/workflows/maven.yml | 8 ++++---- pom.xml | 2 +- scripts/start.bat | 2 +- server/pom.xml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bf086d8..9bda8f9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,11 +21,11 @@ jobs: - name: Upload Artifact - Make Directory run: | mkdir -p finalApproach; - cp server/target/server-1.1.0.jar finalApproach/server.jar; - cp updater/target/updater-1.1.0-jar-with-dependencies.jar finalApproach/launcher.jar; - cp updater/target/updater-1.1.0-jar-with-dependencies.jar finalApproach/newlauncher.jar; + cp server/target/server-1.1.1.jar finalApproach/server.jar; + cp updater/target/updater-1.1.1-jar-with-dependencies.jar finalApproach/launcher.jar; + cp updater/target/updater-1.1.1-jar-with-dependencies.jar finalApproach/newlauncher.jar; cp scripts/start.bat finalApproach/; - uses: actions/upload-artifact@v3 with: - name: final-approach-1.1.0 + name: final-approach-1.1.1 path: finalApproach diff --git a/pom.xml b/pom.xml index 1b99e86..10e450f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ pom - 1.1.0 + 1.1.1 Removed NitriteDB as main database, instead using ObjectMapper and plain JSON (faster and stable) diff --git a/scripts/start.bat b/scripts/start.bat index c004d8f..6a78b63 100644 --- a/scripts/start.bat +++ b/scripts/start.bat @@ -1,3 +1,3 @@ -java -jar launcher.jar +java -Dfile.encoding=UTF-8 -jar launcher.jar copy /b/v/y newlauncher.jar launcher.jar del /F /Q newlauncher.jar diff --git a/server/pom.xml b/server/pom.xml index c581722..b6667ab 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -12,7 +12,7 @@ - 1.1.0 + 1.1.1 de.pietro.lusso server