From 3c5080393e3f38b0c836b4accb7c2ee7b407fe0c Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Tue, 28 May 2024 10:59:18 +0200 Subject: [PATCH] Automate build_release_windows.sh more --- build_release_windows.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build_release_windows.sh b/build_release_windows.sh index 4d32bbf..deaa409 100755 --- a/build_release_windows.sh +++ b/build_release_windows.sh @@ -11,7 +11,10 @@ if [ $diff -gt 0 ]; then fi echo "1) make sure devtools are set to false in src/main.js" -read yes +if grep "devTools: true" src/main.js; then + echo "devTools: true found in src/main.js" + exit 2 +fi echo "2) make sure you've incremented the version number in package.json AND package-lock.json" read yes