only print share URL after daily wordle
Deploy game to server / deploy (push) Successful in 7s

This commit is contained in:
adam committed 2025-02-13 23:43:14 +00:00
1 parent da696e5df2
commit 1ee78db9bf
1 file changed
+2 -2
+2 -2
View File
@@ -63,7 +63,7 @@ function main() {
if [[ $WIN == 5 ]]; then
save_result
echo -e "${CLEAR_DOWN}YOU WIN"
[[ "${ONLINE}" == 1 ]] && echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
[[ "${ONLINE}" == 1 && "${DAILY_DONE}" != 1 ]] && echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
exit 0
fi
done
@@ -76,7 +76,7 @@ function main() {
echo -en "${NEWLINE}${RESET}"
save_result
[[ "${ONLINE}" == 1 ]] && echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
[[ "${ONLINE}" == 1 && "${DAILY_DONE}" != 1 ]] && echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
exit 0
}