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

@@ -34,4 +34,21 @@ declare -A INSTALLER_DISPLAYS=(
[zoxide]="Zoxide"
)
declare -A INSTALLER_STRATEGIES=(
[agy]="binary"
[asciicinema]="binary"
[bat]="binary"
[docker]="system"
[lazygit]="binary"
[node]="managed"
[nvim]="binary"
[pnpm]="binary"
[rust]="managed"
[starship]="binary"
[uv]="binary"
[yay]="system"
[yazi]="binary"
[zoxide]="managed"
)
INSTALLER_KEYS=(agy asciicinema bat docker lazygit node nvim pnpm rust starship uv yay yazi zoxide)