Skip to content

Add neoforge install button + fix forge & neoforge UI becoming disabled when installing a version, requiring a restart to mitigate#17

Merged
crystall1nedev merged 2 commits into
AngelAuraMC:v3_openjdkfrom
alexytomi:add-neoforgeInstall
Jun 30, 2025
Merged

Add neoforge install button + fix forge & neoforge UI becoming disabled when installing a version, requiring a restart to mitigate#17
crystall1nedev merged 2 commits into
AngelAuraMC:v3_openjdkfrom
alexytomi:add-neoforgeInstall

Conversation

@alexytomi

@alexytomi alexytomi commented Jun 20, 2025

Copy link
Copy Markdown
Member

Majority of the code was stolen from the forge one.

Please check if my taskProxy fix is breaking things, whatever that is exactly supposed to do is unclear to me

@alexytomi alexytomi requested a review from crystall1nedev June 20, 2025 15:25
@alexytomi alexytomi force-pushed the add-neoforgeInstall branch from ce973f1 to c77fb89 Compare June 21, 2025 06:23
Code thought taskProxy was being set to null, when in reality it was
actually just the value of it.

Rather than just read the value of the key, I just delete the key itself
because outside of installing something, we don't need it at all.

This bug caused anything implementing ModVersionListFragment to disable
the list after one install as the code that handles the edgecase of
taskProxy being not null was being triggered but not reset post-install.

The faulty code was intended to block the user from being able to run
multiple install tasks at once, which wouldn't go well.
I don't know how it manages to make a profile but it does
@alexytomi alexytomi force-pushed the add-neoforgeInstall branch from c77fb89 to 3d7cf8b Compare June 21, 2025 11:05
@alexytomi alexytomi requested a review from ThatStella7922 June 24, 2025 23:44
@crystall1nedev crystall1nedev merged commit e0b0483 into AngelAuraMC:v3_openjdk Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants