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

@ -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)