From d015632c151e239cc4326c5268cb2e1677c07537 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Sat, 29 Jun 2024 19:04:52 -0500 Subject: [PATCH] add kNanoSwapRpcApiKey to general prebuild and a wild `n appeard on windows --- scripts/prebuild.ps1 | 2 +- scripts/prebuild.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prebuild.ps1 b/scripts/prebuild.ps1 index aa5492834..2e98aaf14 100644 --- a/scripts/prebuild.ps1 +++ b/scripts/prebuild.ps1 @@ -2,7 +2,7 @@ $KEYS = "..\lib\external_api_keys.dart" if (-not (Test-Path $KEYS)) { Write-Host "prebuild.ps1: creating template lib/external_api_keys.dart file" - "const kChangeNowApiKey = '';" + "`nconst kSimpleSwapApiKey = '';" + "const kNanoSwapRpcApiKey = '';" | Out-File $KEYS -Encoding UTF8 + "const kChangeNowApiKey = '';" + "`nconst kSimpleSwapApiKey = '';" + "`nconst kNanoSwapRpcApiKey = '';" | Out-File $KEYS -Encoding UTF8 } # Create template wallet test parameter files if they don't already exist diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh index 77d65b253..1337651d2 100755 --- a/scripts/prebuild.sh +++ b/scripts/prebuild.sh @@ -4,7 +4,7 @@ KEYS=../lib/external_api_keys.dart if ! test -f "$KEYS"; then echo 'prebuild.sh: creating template lib/external_api_keys.dart file' - printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";\n' > $KEYS + printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";\nconst kNanoSwapRpcApiKey = "";\n' > $KEYS fi # Create template wallet test parameter files if they don't already exist