Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
fix(gum): get proper browser url
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Mar 7, 2024
1 parent 8c7b5af commit 3162c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/scripts/extra-packages.nu
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const BREW_TARGET = "/usr/libexec/brew-install"
http get "https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh" | save -f "$BREW_TARGET"
run-external chmod '+x' "$BREW_TARGET"

let GUM_LATEST = (http get https://api.github.com/repos/charmbracelet/gum/releases/latest | get assets | where {|e| $e.name | str ends-with $"($ARCH).rpm" } | get browser_download_url)
let GUM_LATEST = (http get https://api.github.com/repos/charmbracelet/gum/releases/latest | get assets | where {|e| $e.name | str ends-with $"($ARCH).rpm" } | get browser_download_url.0)

http get $GUM_LATEST | save -f /tmp/gum.rpm
run-external rpm-ostree install /tmp/gum.rpm
Expand Down

0 comments on commit 3162c0b

Please sign in to comment.