From ce804d58ae308981453c3ecdc9c3c2f14687d598 Mon Sep 17 00:00:00 2001
From: Ariver <ar@MacBook-Air.local>
Date: Mon, 11 May 2026 13:14:12 +0800
Subject: [PATCH] Prepare App Store sandbox build
---
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