From 6245f0f23260a88eae3f4070b6a70b15933467c2 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Fri, 14 Oct 2022 18:48:00 -0500 Subject: [PATCH] Add template/default SimpleSwap API key const a --- scripts/prebuild.sh | 2 +- scripts/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 scripts/prebuild.sh diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh old mode 100644 new mode 100755 index 31acfa82c..d24076666 --- a/scripts/prebuild.sh +++ b/scripts/prebuild.sh @@ -2,5 +2,5 @@ KEYS=../lib/external_api_keys.dart if ! test -f "$KEYS"; then echo 'prebuild.sh: creating template lib/external_api_keys.dart file' - echo 'const kChangeNowApiKey = "";' > $KEYS + printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS fi diff --git a/scripts/setup.sh b/scripts/setup.sh index f65e6640f..5525d7814 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -29,7 +29,7 @@ git submodule update --init --recursive KEYS="$HOME/projects/stack_wallet/lib/external_api_keys.dart" if ! test -f "$KEYS"; then echo 'prebuild.sh: creating template lib/external_api_keys.dart file' - echo 'const kChangeNowApiKey = "";' > $KEYS + printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS fi #install stack wallet dependencies