From 0063678d935a5f780903926f2668ae62bb78acd8 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 16 Jan 2025 13:52:48 +0100 Subject: [PATCH] Package ressh --- repo/ressh.ubpkg.sky | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 repo/ressh.ubpkg.sky diff --git a/repo/ressh.ubpkg.sky b/repo/ressh.ubpkg.sky new file mode 100644 index 0000000..124492b --- /dev/null +++ b/repo/ressh.ubpkg.sky @@ -0,0 +1,12 @@ +gh = github_repo("alexpdp7/ressh") + +release = gh.latest_release() + +suffix = { + "linux": "-linux-x86_64", + "macos": "-macos", + "windows": ".exe", +}[os] + +asset = release.get_asset_url("ressh{suffix}".format(suffix=suffix)) +install_binary(download_asset(asset, 1024*1024), "ressh")