add x64 bins and arm64 bin

This commit is contained in:
Your Name
2026-08-03 02:08:58 -04:00
parent a53ba0a68e
commit cf7ba2d58a
25 changed files with 3565 additions and 48 deletions
+10 -1
View File
@@ -13,4 +13,13 @@ install_opencode() {
log "Add to PATH: export PATH=\"\$HOME/.opencode/bin:\$PATH\""
}
install_opencode
uninstall_opencode() {
[ -d "$HOME/.opencode" ] || { log "opencode not installed"; return 0; }
spawn "Removing opencode" rm -rf "$HOME/.opencode"
warn "Config/data remains in ~/.config/opencode — remove manually if desired"
}
case "${1:-}" in
uninstall) uninstall_opencode ;;
*) install_opencode ;;
esac
+11 -1
View File
@@ -15,4 +15,14 @@ install_vscode() {
spawn "Installing code" sudo apt install -y code
}
install_vscode
uninstall_vscode() {
command -v code &>/dev/null || { log "vscode not installed"; return 0; }
spawn "Removing code" sudo apt purge -y code
spawn "Cleaning up dependencies" sudo apt autoremove -y
spawn "Removing vscode apt repo" sudo rm -f /etc/apt/sources.list.d/vscode.list /usr/share/keyrings/packages.microsoft.gpg
}
case "${1:-}" in
uninstall) uninstall_vscode ;;
*) install_vscode ;;
esac