fix: sign boss agent bundle for permissions

This commit is contained in:
AI Bot
2026-05-13 00:44:42 +08:00
parent 73327be8b0
commit 842c2249a1
3 changed files with 49 additions and 3 deletions

View File

@@ -132,6 +132,17 @@ cat > "$CONTENTS_DIR/Info.plist" <<'PLIST'
<string>boss-agent</string>
<key>CFBundleIconFile</key>
<string>BossAgent.icns</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.hyzq.boss.agent</string>
<key>CFBundleURLSchemes</key>
<array>
<string>boss-agent</string>
</array>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
@@ -162,4 +173,5 @@ cat > "$CONTENTS_DIR/Info.plist" <<'PLIST'
PLIST
plutil -lint "$CONTENTS_DIR/Info.plist" >/dev/null
codesign --force --deep --sign - "$APP_DIR" >/dev/null
echo "$APP_DIR"