From e1226e6ae5a75388fe5d1a0e1ed008f80fee25ed Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 17 May 2026 14:21:25 +0800
Subject: [PATCH] Release Apptag 6.0.5 build 610

---
 build.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/build.sh b/build.sh
index 3764c3c..9ea9bdf 100644
--- a/build.sh
+++ b/build.sh
@@ -24,6 +24,10 @@
     if [ -z "$CODESIGN_IDENTITY" ]; then
         echo "⚠️  APP_STORE=1 but CODESIGN_IDENTITY not set. Will ad-hoc sign with entitlements."
     fi
+    if [ ! -f "$ENTITLEMENTS" ]; then
+        echo "❌ APP_STORE=1 requires entitlements at: $ENTITLEMENTS"
+        exit 1
+    fi
 fi
 
 echo "==> Cleaning..."

--
Gitblit v1.9.3