Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wohaopa committed Jul 12, 2023
1 parent 63e346a commit b39878e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'com.github.wohaopa'
version '0.1.0'
version '0.3.0'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ private static void loadConfig() {
} catch (Exception e) {
Log.warn("配置文件错误:{}", configFile.toString());
configFile.delete();
FileUtil.fileWrite(configFile, "{}");
}
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spotless {
}

launch4j {
mainClassName = 'boot.Main'
mainClassName = 'com.github.wohaopa.zpl.ui.Main'
outfile = 'ZPL.exe'
language = 'SIMPLIFIED_CHINESE'
fileDescription = 'ZeroPointLaunch, a dedicated starter for GTNH.'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/boot/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
public class Main {

public static void main(String[] args) {
com.github.wohaopa.zpl.ui.Main.launch(args);
com.github.wohaopa.zpl.ui.Main.main(args);
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/github/wohaopa/zpl/ui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public Object call() throws Exception {
stage.getStage().show();
}

public static void launch(String[] args) {
public static void main(String[] args) {
Theme.setTheme(new ZplTheme());
Application.launch(Main.class, args);
}
Expand Down

0 comments on commit b39878e

Please sign in to comment.