From b995865e5b4211ed455703b242cf3614677bf296 Mon Sep 17 00:00:00 2001 From: xq114 <1140735506@qq.com> Date: Fri, 19 Nov 2021 18:17:43 +0800 Subject: update install scripts --- scripts/get.ps1 | 4 ++-- scripts/get.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/get.ps1 b/scripts/get.ps1 index f03d80fa4..449e0e3a1 100755 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -11,7 +11,7 @@ param ( ) & { - $LastRelease = "v2.5.8" + $LastRelease = "v2.5.9" $ErrorActionPreference = 'Stop' function writeErrorTip($msg) { @@ -157,7 +157,7 @@ param ( writeErrorTip 'Check your network or... the news of S3 break' return } - Set-Content $file "$content`n$appendcontent" -NoNewline + Set-Content $file "$content`n# >>> xmake >>>`n$appendcontent`n# <<< xmake <<<`n" -NoNewline . $file Write-Host "Tab completion installed" } diff --git a/scripts/get.sh b/scripts/get.sh index 01634a967..b32c28b6f 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -225,7 +225,7 @@ else fi write_profile() { - grep -sq ".xmake/profile" $1 || echo -e "\n[[ -s \"\$HOME/.xmake/profile\" ]] && source \"\$HOME/.xmake/profile\" # load xmake profile" >> $1 + grep -sq ".xmake/profile" $1 || echo -e "\n# >>> xmake >>>\n[[ -s \"\$HOME/.xmake/profile\" ]] && source \"\$HOME/.xmake/profile\" # load xmake profile\n# <<< xmake <<<" >> $1 } install_profile() { -- cgit v1.3.1