Skip to content

Allow creating new folders in the Save to dialog of the Build tab - #522

Merged
v0lumehi merged 3 commits into
v0lumehi/agents-md-sleep-rulefrom
v0lumehi/new-folder-in-save-to
Nov 2, 2026
Merged

v0lumehi merged 3 commits into
v0lumehi/agents-md-sleep-rulefrom
v0lumehi/new-folder-in-save-to

Conversation

@v0lumehi

@v0lumehi v0lumehi commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Fix or feature

  • Fix
  • Feature

What and why

The folder panel behind Save to in the Build tab could only pick a folder that already exists. The folder for the IPA often does not exist yet, and the panel had no New Folder button.

@SifatTaj sent the one-line fix in #477 against ContentView.swift. That file is gone since the launcher split, and the panel is now made in LauncherStores. I moved the panel into LauncherStores.buildFolderPanel() with canCreateDirectories = true, so a test can read its settings. It supersedes #477 and keeps @SifatTaj as co-author of the commit.

Checked

  • Tests: cd frontend && swift build && swift test on this branch, 646 tests with 17 skipped and no failure.
  • Test for a fix: BuildFolderPanelTests.testTheSaveToPanelCanCreateFolders reads the panel's settings without showing it. I checked that it fails with canCreateDirectories = false and passes with the fix. Picking a folder in the real panel is not tested, it needs the system dialog.
  • Visual QA: not done.
  • Run on a device or Mac: not run.

Screenshots

None captured. The change is the New Folder button of the system's folder panel, which the capture does not draw.

Scope

  • No engine file (dm/, scripts/, docs/, ref/) is added to the repository
  • Not an engine change
  • A change to a launcher view has before and after screenshots above (the system panel is not captured)
  • No keys, game files or data extracted from a game in the change or the attachments

v0lumehi and others added 3 commits November 2, 2026 18:51
The folder panel of Save to could only pick a folder that exists. The panel is
now made by LauncherStores.buildFolderPanel() with canCreateDirectories on, and
a test checks its settings. Fixes the same thing as #477 by @SifatTaj, whose
change was in ContentView.swift, which the launcher split removed.

Co-authored-by: SifatTaj <[email protected]>
@v0lumehi v0lumehi added this to the v1.0.2 milestone Nov 2, 2026
@v0lumehi v0lumehi added bug Something isn't working launcher The NX2Apple launcher app mac Mac labels Nov 2, 2026
@v0lumehi
v0lumehi added this pull request to stack #525 November 2, 2026 18:20
@v0lumehi
v0lumehi merged commit b1ec1e0 into main Nov 2, 2026
16 checks passed
@v0lumehi
v0lumehi deleted the v0lumehi/new-folder-in-save-to branch November 20, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working launcher The NX2Apple launcher app mac Mac

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant