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