Skip to content

v0.1.2 — fix doctor false-positive + brew formula /Applications crash

Choose a tag to compare

@Y0lan Y0lan released this 12 May 11:45
· 18 commits to main since this release

First friend-feedback patch. Two real bugs hit on macOS install.

Fixed

  • Brew install crash on /Applications. The formula tried to write
    dj-edit-mac.command directly to /Applications via Ruby's File.write,
    which fails inside brew's install sandbox. Friend had to manually patch
    the formula to skip that step. Fix: install the .command into share/
    only; caveats instruct the user to copy it to /Applications themselves
    (one extra cp line, but no install crash).
  • Doctor false-positive on filter detection. Friend's dj-edit doctor
    reported loudnorm (and earlier drawtext) as missing even though
    ffmpeg -filters | grep loudnorm showed them present. Root cause: the
    regex ^ ?[.TS]+ +<name> + was sensitive to ffmpeg's leading-whitespace
    pattern, which varies across versions/builds. Fix: parse column 2
    directly with awk ($2 == filter_name). Same fix on the encoder check.

Upgrade for existing users

brew upgrade dj-edit