Formula/gpscripts.rb hinzugefügt

This commit is contained in:
2026-05-21 15:03:11 +02:00
parent d51e8fce14
commit cb9c8fe318
+28
View File
@@ -0,0 +1,28 @@
class Gpscripts < Formula
desc "GlobalProtect Automation Scripts for macOS (gpstatus, gplogin, gpdisconnect, gpupdatepw)"
homepage "https://github.com/wrenchpilot/gpscripts"
url "https://github.com/wrenchpilot/gpscripts/archive/refs/heads/master.tar.gz"
version "0.0.0"
sha256 :no_check
depends_on :macos
def install
bin.install "gpstatus"
bin.install "gplogin"
bin.install "gpdisconnect"
bin.install "gpupdatepw"
doc.install "README.md" if File.exist?("README.md")
end
def caveats
<<~EOS
gpscripts nutzt macOS Keychain für Credentials/Config (GlobalProtect / GlobalProtect-Config).
Das Setup (Username/Portal/Passwort) ist im Projekt-README beschrieben.
EOS
end
test do
system "#{bin}/gpstatus", "--help"
end
end