Files
sami7777 e8bf45af00
Build All Platforms / test-linux-unit (push) Failing after 40s
Build All Platforms / build-linux-qt (push) Failing after 40s
Build All Platforms / build-linux-daemon (push) Failing after 40s
Build All Platforms / build-windows-qt (push) Has been cancelled
Build All Platforms / build-windows-daemon (push) Has been cancelled
Build All Platforms / build-macos (push) Has been cancelled
Build All Platforms / release (push) Has been cancelled
Bump version to 5.5.6
HTTPS seed fetch, hardcoded onion seeds, staking crash fix,
-zapwallettxes support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 03:20:31 -07:00

42 lines
1.2 KiB
Ruby

class Triangles < Formula
desc "Cryptographic Triangles (TRI) cryptocurrency wallet and daemon"
homepage "https://cryptographic-triangles.org"
license "MIT"
version "5.5.6"
on_macos do
url "https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.3.7/Cryptographic-Triangles-v5.3.7-macos-arm64.dmg"
sha256 "3a58e795d898656b455fd639c0ea826a4457d390a64d00ace9a1257598d053be"
end
on_linux do
url "https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.3.7/Cryptographic-Triangles-v5.3.7-linux-x64-daemon"
sha256 "4d2ab25d61127d6aff3e6f3069556d04f4b823f8849e97629c12871ad4779517"
end
depends_on "openssl@3"
def install
if OS.mac?
prefix.install "Triangles-Qt.app"
bin.write_exec_script prefix/"Triangles-Qt.app/Contents/MacOS/Triangles-Qt"
else
bin.install "Cryptographic-Triangles-v5.3.7-linux-x64-daemon" => "trianglesd"
end
end
service do
run [opt_bin/"trianglesd", "-daemon=0"]
keep_alive true
working_dir var/"triangles"
end
test do
if OS.mac?
assert_predicate prefix/"Triangles-Qt.app", :exist?
else
system "#{bin}/trianglesd", "-version"
end
end
end