Skip to content

Commit fcfc53c

Browse files
alexveeclealexpdp7
authored andcommitted
Package telepresence
1 parent cdaf3d9 commit fcfc53c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

repo/telepresence.ubpkg.sky

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

0 commit comments

Comments
 (0)