Skip to content

Builder: the ready page names both places when the build files are in a folder the player chose (rest of #623) - #1079

Merged
hckrman101 merged 1 commit into
NotRexed:mainfrom
amaralthalesalves:fix/builder-ready-page-both-places
Nov 9, 2026
Merged

hckrman101 merged 1 commit into
NotRexed:mainfrom
amaralthalesalves:fix/builder-ready-page-both-places

Conversation

@amaralthalesalves

Copy link
Copy Markdown
Contributor

Refs #600, #623.

This is what's left of #623, rebased on current main as asked there. #623 itself couldn't be reopened. The rest of #623 is already on main through f39868e and the later space changes (55abe59), so this PR holds only the one change main doesn't have:

  • On the ready page, when the build files are in a folder the player chose (Storage.WorkChosen), the text now names both places. Storage.Measure() adds the chosen work folder to the total, but the text only named Storage.Base, so it understated where the space is. Telling the player where the space goes is what *Serious Installer Issue* Do not install 5+ GB to my appdata/local folder without asking me! #600 asked for.
  • Show folder opens the chosen build files folder in that case, the bigger of the two, instead of the builder's own.

The change is five lines in MainWindow.xaml.cs. I have no dotnet here, so the Windows CI job ("Hookshot Builder package and setup") is what compiles it.

With 55abe59 the build files are deleted after a build unless HOOKSHOT_KEEP_BUILD_FILES=1, so the "can be freed" part of that text mostly appears with that setting. The total still counts the chosen folder either way.

… a folder the player chose (NotRexed#600)

The total counted both folders and the text named only %LOCALAPPDATA%\HookshotBuilder; Show folder now opens the build files
folder, the bigger one, when it was chosen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amaralthalesalves

Copy link
Copy Markdown
Contributor Author

The red "Python source checks" is tests/test_program_answer_domains.py, which fails the same way on main at 8b2e1d3 (run 42588468881). This PR only changes builder/HookshotBuilder/MainWindow.xaml.cs. The job that compiles it, "Hookshot Builder package and setup", passes.

@hckrman101
hckrman101 merged commit fe611e4 into NotRexed:main Nov 9, 2026
8 of 10 checks passed
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.

1 participant