Skip to content

fix(launcher): extract locale emulator files to appdata#291

Merged
lshw54 merged 2 commits into
codefrom
issue-285-appdata-extraction-path
May 27, 2026
Merged

fix(launcher): extract locale emulator files to appdata#291
lshw54 merged 2 commits into
codefrom
issue-285-appdata-extraction-path

Conversation

@lshw54
Copy link
Copy Markdown
Collaborator

@lshw54 lshw54 commented May 27, 2026

What

LocaleRemulator support files were being extracted next to the running executable/current app path. This could leave released files outside the app data directory while Config.xml already lives under %APPDATA%\Beanfun.

Fix

Use AppState::storage_root as the launcher extraction/staging target directory, so LocaleRemulator files are released under the same %APPDATA%\Beanfun root as Config.xml.

The launcher command now builds its LaunchRequest.target_dir from the managed app storage root instead of resolving the executable parent directory. The obsolete command-layer target-dir resolution error path was removed, bindings were regenerated, and Cargo.lock was synced to 6.0.0.

Adds regression coverage that the launch request uses the storage root as the LocaleRemulator target directory.

Closes #285

@lshw54 lshw54 self-assigned this May 27, 2026
@lshw54 lshw54 merged commit 4e10050 into code May 27, 2026
3 checks passed
@lshw54 lshw54 deleted the issue-285-appdata-extraction-path branch May 27, 2026 07:53
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.

[Bug] 檔案釋放路徑錯誤 / Incorrect File Extraction Path

1 participant