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
|
|
@ -1,4 +1,7 @@
|
|||
$env:PATH = "$env:PATH;$HOME/.safe-chain/bin"
|
||||
# Use cross-platform path separator (: on Unix, ; on Windows)
|
||||
$pathSeparator = if ($IsWindows) { ';' } else { ':' }
|
||||
$safeChainBin = Join-Path $HOME '.safe-chain' 'bin'
|
||||
$env:PATH = "$env:PATH$pathSeparator$safeChainBin"
|
||||
|
||||
function Write-SafeChainWarning {
|
||||
param([string]$Command)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
$env:PATH = "$env:PATH;$HOME/.safe-chain/bin"
|
||||
# Use cross-platform path separator (: on Unix, ; on Windows)
|
||||
$pathSeparator = if ($IsWindows) { ';' } else { ':' }
|
||||
$safeChainBin = Join-Path $HOME '.safe-chain' 'bin'
|
||||
$env:PATH = "$env:PATH$pathSeparator$safeChainBin"
|
||||
|
||||
function Write-SafeChainWarning {
|
||||
param([string]$Command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue