From 82b9da47dcbfd269c3e0f45d66ffde3ca561b8e0 Mon Sep 17 00:00:00 2001 From: MRColor Date: Thu, 16 Mar 2023 09:57:59 +0100 Subject: [PATCH] better information to find api key --- runme.ps1 | 2 +- runme.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runme.ps1 b/runme.ps1 index d27c864..56531a0 100644 --- a/runme.ps1 +++ b/runme.ps1 @@ -188,7 +188,7 @@ function fn_setupApp() { (Get-Content .\.env).replace("your${CURRENT_APP}Pw", "$APP_PASSWORD") | Set-Content .\.env } if ("$SUBTYPE" -eq "apikey" ) { - Write-Output "Now enter your $CURRENT_APP APIKey. You can find/generate it inside your $CURRENT_APP dashboard." + Write-Output "Now enter your $CURRENT_APP APIKey. You can find/generate it inside your $CURRENT_APP dashboard/profile." $APP_APIKEY = Read-Host (Get-Content .\.env).replace("your${CURRENT_APP}APIKey", "$APP_APIKEY") | Set-Content .\.env } diff --git a/runme.sh b/runme.sh index a20df51..99e0cb9 100644 --- a/runme.sh +++ b/runme.sh @@ -129,7 +129,7 @@ fn_setupApp(){ sed -i "s/your$1Pw/$APP_PASSWORD/" .env fi if [ "$4" == "apikey" ] ; then - printf "Now enter your %s APIKey. You can find/generate it inside your %s dashboard."$'\n' "$1" + printf "Now enter your %s APIKey. You can find/generate it inside your %s dashboard/profile."$'\n' "$1" read -r APP_APIKEY sed -i "s/your$1APIKey/$APP_APIKEY/" .env fi