mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
The cask went live in Homebrew/homebrew-cask on 2026-08-24. A maintainer removed three things during review that this reference copy still carried, so the file now documents a shape Homebrew rejected: - the `livecheck do url :url; strategy :github_latest end` block, which is redundant — Homebrew infers the strategy from a GitHub release URL - the inline `conflicts_with` comment - the inline `zap` rationale comment The body below the header is now byte-identical to upstream, so `diff`-ing the two is meaningful again. The removed rationale was worth keeping, just not upstream, so it moves into the header — which `scripts/bump-winget.sh`-style stripping never applies here anyway, because this file is only ever read, never copied. Notably the `zap` paths, re-derived from source rather than trusted from the old comment: `AccountManager.kt` for `~/.amethyst` (accounts and KEYS), `DesktopTorManager.kt` for the Application Support path, and `DesktopImageLoaderSetup.kt` whose macOS `cacheDir()` branch resolves to `~/Library/Caches`. Also why the shared Java prefs plist is deliberately excluded: `java.util.prefs` writes every Java app's preferences into that one file. The header also corrects a scope claim. It implied this file is what ships; it is not. `scripts/bump-homebrew-cask.sh` bumps upstream through `brew bump-cask-pr`, which edits the upstream cask in place and only reads version + sha256 from here. Verified the enlarged header cannot confuse either bumper: both anchor on the two-space indent (`^ version "` / `^ sha256 "`), each matches exactly once, and replaying the workflow's `sed` against this file changes those two lines and nothing else. `ruby -c` passes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gs2gi3sZfQ7SHrVm2njLMw