Skip to content

Commit

Permalink
start.bat bugfix for java runtime encoding forced to utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrogen2oxygen committed Dec 19, 2022
1 parent e7cf55a commit fbd0c48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<packaging>pom</packaging>

<properties>
<revision>1.1.0</revision>
<revision>1.1.1</revision>
<version.info>Removed NitriteDB as main database, instead using ObjectMapper and plain JSON (faster and stable)</version.info>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion scripts/start.bat
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>

<version>1.1.0</version>
<version>1.1.1</version>
<groupId>de.pietro.lusso</groupId>
<artifactId>server</artifactId>

Expand Down

0 comments on commit fbd0c48

Please sign in to comment.