-
Notifications
You must be signed in to change notification settings - Fork 0
/
slv.rb
47 lines (40 loc) · 1.35 KB
/
slv.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Slv < Formula
desc ""
homepage "https://savesecrets.org/slv"
version "0.10.3"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/amagimedia/slv-beta/releases/download/v0.10.3/slv-beta_0.10.3_darwin_arm64.zip"
sha256 "fc0fb88b79ae65d0333098a1164bf8cd4a3e587e3d7cbbf5bdea678e93592b0f"
def install
bin.install "slv"
end
end
if Hardware::CPU.intel?
url "https://github.com/amagimedia/slv-beta/releases/download/v0.10.3/slv-beta_0.10.3_darwin_amd64.zip"
sha256 "137b68eccccef25b9fce8a9f4fed7da27c67a09f35b89ae0d2325057c4729d95"
def install
bin.install "slv"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/amagimedia/slv-beta/releases/download/v0.10.3/slv-beta_0.10.3_linux_arm64.zip"
sha256 "7cde23a803b95e5d4a16eac81a47681718682205a98d3f4786d748c0fb8f2076"
def install
bin.install "slv"
end
end
if Hardware::CPU.intel?
url "https://github.com/amagimedia/slv-beta/releases/download/v0.10.3/slv-beta_0.10.3_linux_amd64.zip"
sha256 "930a7544db92a291d77e3aab08f120e89f6422f90a904ee9175ac508d2205f7b"
def install
bin.install "slv"
end
end
end
end