Skip to content

Commit

Permalink
Merge pull request #171663 from Wallunen/darkmodebuddy
Browse files Browse the repository at this point in the history
  • Loading branch information
p-linnane committed Apr 18, 2024
2 parents 8f0f30d + fd6ffa3 commit 7d27585
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Casks/d/darkmodebuddy.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
cask "darkmodebuddy" do
version "1.2,13"
sha256 "4a13606fa242795353b8256b0a9d0c6a1624aea47b1d2f67b55b2e52ef1a6d77"

url "https://su.darkmodebuddy.app/DarkModeBuddy_v#{version.csv.first}-#{version.csv.second}.dmg",
verified: "darkmodebuddy.app/"
name "DarkModeBuddy"
desc "Automatically switch between light and dark modes based on ambient light sensor"
homepage "https://github.com/insidegui/DarkModeBuddy"

livecheck do
url "https://su.darkmodebuddy.app/appcast.xml"
strategy :sparkle
end

auto_updates true
depends_on macos: ">= :catalina"

app "DarkModeBuddy.app"

uninstall signal: ["TERM", "codes.rambo.DarkModeBuddy"],
login_item: "DarkModeBuddy"

zap trash: "~/Library/Preferences/codes.rambo.DarkModeBuddy.plist"
end

0 comments on commit 7d27585

Please sign in to comment.