refactor: Migrate all installers to use installation strategies

This commit is contained in:
2026-06-26 21:35:34 +05:30
parent 0eaea2c997
commit 36c7be07b3
16 changed files with 53 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
# Tool: lazygit
# DisplayName: lazygit
# Description: Simple terminal UI for git commands
# Strategy: binary
#
# lazygit Installer Script
#
@@ -61,6 +62,7 @@ install_lazygit() {
cp "$TMP_DIR/lazygit" "$HOME/.local/bin/lazygit"
chmod +x "$HOME/.local/bin/lazygit"
track_file "$HOME/.local/bin/lazygit"
register_tool "lazygit" "binary" "$latest_tag" "github:jesseduffield/lazygit"
}
# ─── Main ─────────────────────────────────────────────────────────────