Files
homebrew-cask/Casks/s/ssh-config-editor.rb
2023-10-14 17:01:42 -04:00

28 lines
846 B
Ruby

cask "ssh-config-editor" do
version "2.6.3,103"
sha256 "08601ef43f63ecc53fea1605073b41d4ecf0641c5557654eaa16f7b111b3dcdc"
url "https://hejki.org/download/ssheditor/SSHConfigEditor-#{version.csv.second}.dmg"
name "SSH Config Editor"
desc "Tool for managing the OpenSSH ssh client configuration file"
homepage "https://www.hejki.org/ssheditor/"
livecheck do
url "https://hejki.org/download/ssheditor/appcast#{version.major}.xml"
strategy :sparkle do |items|
items.find { |item| item.channel.nil? }&.nice_version
end
end
auto_updates true
depends_on macos: ">= :big_sur"
app "SSH Config Editor.app"
zap trash: [
"~/Library/Application Support/SSH Config Editor",
"~/Library/Preferences/org.hejki.osx.sshce.plist",
"~/Library/Saved Application State/org.hejki.osx.sshce.savedState",
]
end