mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Update powershell scripts and installation scripts
This commit is contained in:
parent
e58e77bc63
commit
8f80266ad3
4 changed files with 10 additions and 54 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue