diff options
| author | ruki <[email protected]> | 2017-04-26 22:40:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-04-26 22:40:35 +0800 |
| commit | 67327cae080901ac773b482804d427d172bf29e3 (patch) | |
| tree | b49b9d4fab0a10fa09fcceec48f1cfcb8c68256b /scripts | |
| parent | 6346af0f672353eedc5c3a6efe4ed3d5a0a52e5a (diff) | |
modify logo for get script and modify homepage
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/get.ps1 | 16 | ||||
| -rwxr-xr-x | scripts/get.sh | 16 |
2 files changed, 13 insertions, 19 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 59be2c9db..120605ce5 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -20,15 +20,13 @@ Function writeLogoLine($msg){ Write-Host $msg -BackgroundColor White -ForegroundColor DarkBlue } -writeLogoLine ' _ ' -writeLogoLine ' | | _ ' -writeLogoLine '__ ___ ______| |/ /___ ' -writeLogoLine '\ \/ | \ / / _ | / / __ \ ' -writeLogoLine ' \ /| \/ / / | | | __/ ' -writeLogoLine ' / \| \__/\ \_| \ \ \ \__. ' -writeLogoLine '/_/\_|_| |_\___\_\|\_\__/ getter' -writeLogoLine ' ' -writeLogoLine '' +writeLogoLine ' _ ' +writeLogoLine ' __ ___ __ __ __ _| | ______ ' +writeLogoLine ' \ \/ / | \/ |/ _ | |/ / __ \ ' +writeLogoLine ' > < | \__/ | /_| | < ___/ ' +writeLogoLine ' /_/\_\_|_| |_|\__ \|_|\_\____| getter ' +writeLogoLine ' ' +writeLogoLine ' ' if($PSVersionTable.PSVersion.Major -lt 5){ writeErrorTip 'Sorry but PowerShell v5+ is required' diff --git a/scripts/get.sh b/scripts/get.sh index 11a72d854..52a990dc7 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -4,16 +4,12 @@ # usage: bash <(curl -s <my location>) [branch] # print a LOGO! -echo -ne '\x1b[07m' -echo ' _ ' -echo ' | | _ ' -echo '__ ___ ______| |/ /___ ' -echo '\ \/ | \ / / _ | / / __ \ ' -echo ' \ /| \/ / / | | | __/ ' -echo ' / \| \__/\ \_| \ \ \ \__. ' -echo '/_/\_|_| |_\___\_\|\_\__/ getter' -echo ' ' -echo -e '\x1b[0m' +echo ' _ ' +echo ' __ ___ __ __ __ _| | ______ ' +echo ' \ \/ / | \/ |/ _ | |/ / __ \ ' +echo ' > < | \__/ | /_| | < ___/ ' +echo ' /_/\_\_|_| |_|\__ \|_|\_\____| getter ' +echo ' ' brew --version >/dev/null 2>&1 && brew install --HEAD xmake && xmake --version && exit if [ 0 -ne $(id -u) ] |
