Skip to content

Commit

Permalink
Package htmlq
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpdp7 committed Mar 15, 2024
1 parent ab46df9 commit c824394
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions repo/htmlq.ubpkg.sky
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
gh = github_repo("mgdm/htmlq")

release = gh.latest_release()

os_str = {
"linux": "linux",
"macos": "darwin",
"windows": "windows",
}[os]

archive_format = {
"linux": "tar.gz",
"macos": "tar.gz",
"windows": "zip",
}[os]

asset = release.get_asset_url("htmlq-x86_64-{os_str}.{archive_format}".format(os_str=os_str, archive_format=archive_format))

install_binary(extract_from_url(asset, "htmlq"), "htmlq")

0 comments on commit c824394

Please sign in to comment.