th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
7.98k stars 478 forks source link

[Bug]: can't upgrade via brew #2305

Closed iwex closed 2 weeks ago

iwex commented 1 month ago

Preflight Checklist

YouTube Music (Application) Version

3.5.0

What operating system are you using?

macOS

Operating System Version

Sonoma 14.5

What CPU architecture are you using?

arm64 (including Apple Silicon)

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

brew upgrade --greedy

Expected Behavior

Upgrade version

Actual Behavior

==> Upgrading 1 outdated package: th-ch/youtube-music/youtube-music v3.5.0 -> v3.5.0 ==> Upgrading youtube-music ==> Downloading https://github.com/th-ch/youtube-music/releases/download/v3.5.0/YouTube-Music-3.5.0-arm64.dmg Already downloaded: /Users/sc/Library/Caches/Homebrew/downloads/669ec0f286b256f4d85559a8bb60ba0b2bb55a92c774f146a51f1ce1706da248--YouTube-Music-3.5.0-arm64.dmg Warning: No checksum defined for cask 'youtube-music', skipping verification. ==> Backing App 'YouTube Music.app' up to '/opt/homebrew/Caskroom/youtube-music/v3.5.0/YouTube Music.app' ==> Removing App '/Applications/YouTube Music.app' ==> Purging files for version v3.5.0 of Cask youtube-music Error: th-ch/youtube-music/youtube-music: Directory not empty @ rb_file_s_rename - (/opt/homebrew/Caskroom/youtube-music/v3.5.0, /opt/homebrew/Caskroom/youtube-music/v3.5.0.upgrading)

Enabled plugins

No

Additional Information

No response

iwex commented 1 month ago

Why it's trying to update from v3.5.0 -> v3.5.0

th-ch commented 2 weeks ago

👋 opened https://github.com/th-ch/homebrew-youtube-music/pull/5 to hopefully fix the rb_file_s_rename errors!