Skip to content

Commit

Permalink
added stadia api key
Browse files Browse the repository at this point in the history
  • Loading branch information
76rhodan committed Feb 22, 2024
1 parent cba5167 commit 885183c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rootfs/etc/s6-overlay/scripts/61-layer
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ if [[ -n "${VRS_ENHANCED_LAYERS_COUNTRY}" ]]
echo "[$APPNAME][$(date)] Enhanced Layers API Keys config injection - Failure"
fi
fi
if [[ -n "${VRS_ENHANCED_LAYERS_STADIA_APIKEY}" ]]
then
echo "[$APPNAME][$(date)] Injecting Stadia APIkey"
if sed -i -e "s/##STADIAKEY##/${VRS_ENHANCED_LAYERS_STADIA_APIKEY}/g" ${VRS_EXTENSION_DIR}/EndOfBody.html &&\
echo "[$APPNAME][$(date)] Injecting Stadia APIkey - OK"
else
echo "[$APPNAME][$(date)] Injecting Stadia APIkey - Fail"
fi
else
echo "[$APPNAME][$(date)] Stadia APIkey not set in yaml"
fi
if [[ -n "${VRS_ENHANCED_LAYERS_CONFIG}" ]]
then
#shellcheck disable=SC2001
Expand Down

0 comments on commit 885183c

Please sign in to comment.