Skip to content

Conversation

@kjarosh
Copy link
Member

@kjarosh kjarosh commented Jan 25, 2026

Fixes:

  • Fix exporting a bundle when there are no files and it refer to a remote content.
  • Use the inputted bundle name for default filename.

More tests added and the module structure was cleaned up too.

Note: GitHub thinks the diff is large because it doesn't understand that a file has been renamed. It's better to review it commit-by-commit.

The user can export a bundle with no files when it refers to a remote
content.  Previously an error was thrown when there were no files
because we were unable to calculate the root directory for the content.
Now this error will be thrown only when a local file is referenced and
no files are exported.
This module was available only with the "fs" feature, so rename it to
fs_helpers, make it private and export needed structs.
When the user names a bundle Foo, the save dialog will propose Foo.ruf
as the filename instead of whatever was the original name.
@kjarosh kjarosh added A-desktop Area: Desktop Application T-fix Type: Bug fix (in something that's supposed to work already) waiting-on-review Waiting on review from a Ruffle team member labels Jan 25, 2026
@kjarosh kjarosh changed the title desktop: Various fixes to exporting bundles and tests desktop: Various fixes to exporting bundles, and tests Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-desktop Area: Desktop Application T-fix Type: Bug fix (in something that's supposed to work already) waiting-on-review Waiting on review from a Ruffle team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant