Skip to content

Bundle everything under data/, not just locale - #245

Merged
iamfatness merged 1 commit into
mainfrom
fix/bundle-data-dirs
Sep 5, 2026
Merged

Bundle everything under data/, not just locale#245
iamfatness merged 1 commit into
mainfrom
fix/bundle-data-dirs

Conversation

@iamfatness

Copy link
Copy Markdown
Owner

The defect

scripts/make-macos-bundle.sh copied data/locale and nothing else, so data/effects/corevideo-tiles.effect never reached the bundle. Tiles was dead on every macOS install.

The plugin said so on every load and nothing was listening:

[obs-zoom-plugin] Tiles effect not found: effects/corevideo-tiles.effect is
                  missing from the plugin's data directory

Caught live on 2026-09-05, on the first properly-signed macOS test build.

Why it happened

Same shape as the missing-engine bug fixed the same day (#244): the script knew what it needed and enumerated it by hand rather than copying what is actually there. Anything added to data/ afterwards was silently dropped.

The change

Copy the contents of data/ rather than a hand-listed subset, so the next addition cannot repeat this. obs_module_file() resolves to Contents/Resources on macOS, so the layout carries over verbatim.

Verification

Rebuilt bundle now contains both:

Resources/locale/en-US.ini
Resources/effects/corevideo-tiles.effect

🤖 Generated with Claude Code

The script copied data/locale and nothing else, so data/effects never reached
the bundle and the Tiles feature was dead on every macOS install. It said so
in the log and nothing was listening:

    Tiles effect not found: effects/corevideo-tiles.effect is missing from
    the plugin's data directory

Caught live 2026-09-05 on the first properly-signed macOS test build.

Same shape as the missing-engine bug fixed the same day: the script knew what
it needed and enumerated it BY HAND rather than copying what is actually there,
so anything added to data/ afterwards was silently dropped. Copying the
directory's contents means the next addition cannot repeat this.

obs_module_file() resolves to Contents/Resources on macOS, so the layout under
data/ carries over verbatim.

Verified: Resources/effects/corevideo-tiles.effect is present in a rebuilt
bundle, alongside Resources/locale/en-US.ini.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@iamfatness
iamfatness merged commit 4368d03 into main Sep 5, 2026
13 checks passed
@iamfatness
iamfatness deleted the fix/bundle-data-dirs branch September 5, 2026 21:10
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