Skip to content

Installer: accept stock VLC.app without a video_filter folder - #9

Merged
asayed18 merged 1 commit into
mainfrom
claude/installer-stock-vlc-layout
Oct 1, 2026
Merged

asayed18 merged 1 commit into
mainfrom
claude/installer-stock-vlc-layout

Conversation

@asayed18

@asayed18 asayed18 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Why

The v0.1.7 release (run 36798954688) failed on macOS ARM64 and x86_64 at the bundled-installer dry run:

icop installer: no VLC video_filter plugin directory was found; pass --vlc-root

Stock VLC.app keeps all plugins directly in Contents/MacOS/plugins and scans that folder recursively, so video_filter only exists where icop was installed before. The installer required that folder, so it failed on every fresh VLC.app: Homebrew's VLC 3.0.24 in CI, and any first-time user. Local tests passed only because the test Mac already had the folder.

Fix

  • On macOS, accept Contents/MacOS/plugins/video_filter when its parent folder exists next to the VLC executable. The existing mkdir -p then creates video_filter.
  • Decide whether sudo is needed by the folder the install creates video_filter in.

Verification

Against stock VLC 3.0.24 (Homebrew DMG):

  • --dry-run passes.
  • Install creates video_filter with all 7 files.
  • --uninstall removes them.
  • A non-VLC .app is still rejected.
  • Dry run against an existing install is unchanged.

After merging, the release needs a new tag (v0.1.7 → this fix, or v0.1.8).

🤖 Generated with Claude Code

VLC for macOS keeps every plugin directly in Contents/MacOS/plugins and
scans it recursively, so video_filter only exists where icop was installed
before. The installer required that folder and failed on every fresh
VLC.app, including Homebrew's VLC 3.0.24 in the v0.1.7 release build.

On macOS, accept Contents/MacOS/plugins/video_filter when its parent holds
the VLC executable, decide on sudo by the folder the install creates it
in, and let the existing mkdir -p create it.

Verified against stock VLC 3.0.24 (Homebrew DMG): dry run, install (7
files) and uninstall; a non-VLC folder is still rejected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@asayed18
asayed18 merged commit ea05655 into main Oct 1, 2026
7 checks passed
@asayed18
asayed18 deleted the claude/installer-stock-vlc-layout branch October 1, 2026 01:16
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