fix: sign boss agent bundle for permissions
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user