Skip to content

Commit

Permalink
launcher: remove hdos+flathub warning
Browse files Browse the repository at this point in the history
Hopefully this issue has been fixed in 0.5
  • Loading branch information
Adamcake committed Dec 11, 2023
1 parent 1c7a6be commit c92d850
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions html/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -1101,14 +1101,6 @@ function launchHdos(s, element, jx_access_token, jx_refresh_token, jx_session_id
xml.send(jar);
};

// On Java 17+, the HDOS launcher passes "--add-opens java.desktop/java.awt=ALL-UNNAMED" as a single
// command-line arg. That's not two args, it's one one huge single arg which happens to have a space
// in it. This causes Java to produce an error because args don't work like that. If HDOS ever fixes
// their config, remove this error.
if (isFlathub) {
err("NOTE: HDOS is unlikely to work with Java 17+, please go and tell the HDOS devs to fix their getdown config if it doesn't work.");
}

var xml = new XMLHttpRequest();
const url = "https://cdn.hdos.dev/client/getdown.txt";
xml.open('GET', url, true);
Expand Down

0 comments on commit c92d850

Please sign in to comment.