Update powershell scripts and installation scripts

This commit is contained in:
Sander Declerck 2025-12-01 14:52:15 +01:00
parent e58e77bc63
commit 8f80266ad3
No known key found for this signature in database
4 changed files with 10 additions and 54 deletions

View file

@ -7,7 +7,7 @@
set -e # Exit on error
# Configuration
VERSION="${SAFE_CHAIN_VERSION:-v0.0.2-binaries-beta}"
VERSION="${SAFE_CHAIN_VERSION:-v0.0.3-binaries-beta}"
INSTALL_DIR="${HOME}/.safe-chain/bin"
REPO_URL="https://github.com/AikidoSec/safe-chain"
@ -99,18 +99,6 @@ main() {
info "Binary installed to: $FINAL_FILE"
# Check if directory is in PATH
case ":$PATH:" in
*":$INSTALL_DIR:"*)
info "Installation directory is already in PATH"
;;
*)
warn "Installation directory is not in PATH"
warn "Add the following line to your shell profile (~/.bashrc, ~/.zshrc, etc.):"
printf "\n export PATH=\"\$PATH:${INSTALL_DIR}\"\n\n"
;;
esac
# Execute safe-chain setup
info "Running safe-chain setup..."
if "$FINAL_FILE" setup; then