From 4d60ec9435bacf9086fd5614cc269a3e140f8308 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 Aug 2022 20:57:59 +0000 Subject: [PATCH] docs(sh,ms): meta redirect to cheat sheet --- _webi/bootstrap.ps1 | 5 +++++ _webi/bootstrap.sh | 6 ++++++ _webi/releases.js | 1 + 3 files changed, 12 insertions(+) diff --git a/_webi/bootstrap.ps1 b/_webi/bootstrap.ps1 index 8ed6527..bf7b9ff 100644 --- a/_webi/bootstrap.ps1 +++ b/_webi/bootstrap.ps1 @@ -1,4 +1,9 @@ # Download the latest webi, then install {{ exename }} +#
+############################################################
+# 

Cheat Sheet at CHEATSHEET_URL

+# +############################################################ New-Item -Path "$Env:USERPROFILE\Downloads\webi" -ItemType Directory -Force | out-null New-Item -Path "$Env:USERPROFILE\.local\bin" -ItemType Directory -Force | out-null IF ($Env:WEBI_HOST -eq $null -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" } diff --git a/_webi/bootstrap.sh b/_webi/bootstrap.sh index e6e0ed7..aa3f743 100644 --- a/_webi/bootstrap.sh +++ b/_webi/bootstrap.sh @@ -1,4 +1,10 @@ #!/bin/sh +#
+
+############################################################
+# 

Cheat Sheet at CHEATSHEET_URL

+# +############################################################ #set -x diff --git a/_webi/releases.js b/_webi/releases.js index 507f0ac..52a0cae 100644 --- a/_webi/releases.js +++ b/_webi/releases.js @@ -60,6 +60,7 @@ Releases.renderBash = function ( } return ( tplTxt + .replace(/CHEATSHEET_URL/g, `${baseurl}/${pkg}`) .replace(/^\s*#?WEBI_PKG=.*/m, `WEBI_PKG='${webiPkg}'`) .replace(/^\s*#?WEBI_HOST=.*/m, `WEBI_HOST='${baseurl}'`) .replace(/^\s*#?WEBI_OS=.*/m, `WEBI_OS='${os}'`)