-
Notifications
You must be signed in to change notification settings - Fork 2
2025 Update #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
2025 Update #7
Conversation
halotroop2288
commented
Jul 10, 2025
- Groovy DSL -> Kotlin DSL
- Gradle Wrapper -> 8.14.2
- Gradle Version Catalog
- Lombok -> 1.18.38
- GSON -> 2.9.1
- Glass Site Java API -> 0.7
- GlassLauncher Commons -> 1.4
- Local blog -> Online updated blog
- Groovy DSL -> Kotlin DSL - Gradle Wrapper -> 8.14.2 - Gradle Version Catalog - Lombok -> 1.18.38 - GSON -> 2.9.1 - Glass Site Java API -> 0.7 - GlassLauncher Commons -> 1.4 - Local blog -> Online updated blog
calmilamsy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to update the gradle system and some of my more questionable code choices.
I do have concerns on loading remote content vs storing it locally just so the launcher keeps looking nice when there's no internet connection. Maybe keep the old system as an offline fallback/toggle?
Just doing a few formatting pokes so they don't spiral.
| private JScrollPane makeBlog() { | ||
| JTextPane blog = new JTextPane(); | ||
| blog.setContentType("text/html"); | ||
| blog.setText(page); | ||
| try { | ||
| blog.setPage(new URL("https://halotroop2288.github.io/MCUpdate")); | ||
| blog.setContentType("text/html"); | ||
| } catch (Throwable ignored) { | ||
| Main.getLogger().warning("Couldn't load MCUpdate Blog."); | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project uses spaces.
| switch (arg.toLowerCase()) { | ||
| case "-dosound": | ||
| doSound = true; | ||
| break; | ||
| case "-doskin": | ||
| doSkin = true; | ||
| break; | ||
| case "-docape": | ||
| doCape = true; | ||
| break; | ||
| case "-dologin": | ||
| doLogin = true; | ||
| break; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| return defaultColor != getForeground() && Arrays.equals(super.getPassword(), hint.toCharArray()) | ||
| ? new char[]{} : super.getPassword(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| } else if (!version.equals("custom")) { | ||
| try { | ||
| FileUtils.delete(new File(minecraftFolder)); | ||
| } catch (Exception e) { | ||
| e.printStackTrace(); | ||
| } | ||
| } | ||
|
|
||
| progressWindow.increaseProgress(); | ||
| progressWindow.increaseProgress(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| if (component.getUid().equals("customjar") && !component.isDisabled()) { | ||
| hasCustomJar = true; | ||
| } else if (component.getCachedName() != null) { | ||
| modList.getJarMods().add(modList.getJarMods().size(), new Mod(component.getUid().replace("org.multimc.jarmod.", "") + ".jar", component.getCachedName(), 0, !component.isDisabled())); | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.