Skip to content

Commit f93aab8

Browse files
committed
Package vetu
1 parent 0da1991 commit f93aab8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

repo/vetu.ubpkg.sky

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
gh = github_repo("cirruslabs/vetu")
2+
3+
release = gh.latest_release()
4+
5+
os_str = {
6+
"linux": "linux",
7+
}[os]
8+
9+
arch_str = {
10+
"x86_64": "amd64",
11+
"aarch64": "arm64",
12+
}[arch]
13+
14+
asset = release.get_asset_url("vetu-{os_str}-{arch_str}".format(os_str=os_str, arch_str=arch_str))
15+
16+
install_binary(download_asset(asset, 32*1024*1024), "vetu")

0 commit comments

Comments
 (0)