Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jan 7, 2024
1 parent 084a50e commit 681f499
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/cubewhy/celestial/Celestial.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private static void initConfig() {
// lccn
JsonObject lunarcn = new JsonObject();
lunarcn.addProperty("enable", false);
weave.addProperty("installation", new File(System.getProperty("user.home"), ".cubewhy/lunarcn/loaders/cn.jar").getPath());
lunarcn.addProperty("installation", new File(System.getProperty("user.home"), ".cubewhy/lunarcn/loaders/cn.jar").getPath());
lunarcn.addProperty("check-update", true);
addon.add("lunarcn", lunarcn);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ private void initGui() throws IOException {
refreshModuleSelect(false);
// get is first launch
if (config.getValue("game").isJsonNull()) {
log.info("Init ");
JsonObject game = new JsonObject();
game.addProperty("version", (String) versionSelect.getSelectedItem());
game.addProperty("module", (String) moduleSelect.getSelectedItem());
Expand Down

0 comments on commit 681f499

Please sign in to comment.