Skip to content

Commit

Permalink
fix: find celewrap progress
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jul 20, 2024
1 parent d55e79c commit 65e1892
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@
4. No installation needed
5. Ready out of the box
6. External browser login support
7. Cross-platform (*Experimental* Not fully support Microsoft Windows)
7. Cross-platform (*Experimental*)
8. Custom API address
9. Multi version, one jre
10. Javaagent support (*Experimental*)
11. LunarCN support (*Experimental*)
12. Weave support (*Experimental*)
10. Javaagent support (*EXPERIMENTAL*)
11. ~~LunarCN support~~ (*EXPERIMENTAL,REMOVED*)
12. Weave support (*Experimental,NOT WORK AT ALL*)
13. Dump version json into local

## Deprecated functionality (in the latest version of LunarClient)

1. LunarQT
2. javaagents which does not patch Genesis
14. Unlock LC debug mode

## Get celestial

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
* Do NOT remove this note if you want to copy this file.
*/

/*
* Celestial Launcher <me@lunarclient.top>
* License under GPLv3
* Do NOT remove this note if you want to copy this file.
*/

package org.cubewhy.celestial.game.thirdparty

import org.cubewhy.celestial.configDir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class GuiVersionSelect : JPanel() {

private fun beforeLaunch() {
if (gamePid.get() != 0L) {
if (findJava(getMainClass(null)) != null) {
if (findJava(if (config.celeWrap.state) CeleWrap.MAIN_CLASS else getMainClass(null)) != null) {
JOptionPane.showMessageDialog(
this,
f.getString("gui.version.launched.message"),
Expand Down

0 comments on commit 65e1892

Please sign in to comment.