feat: disable preAutoEntitlements for mas because of electron/osx-sign#150

This commit is contained in:
DIYgod 2025-02-10 16:09:54 +08:00
parent dee24dc7d7
commit 82c3defbee
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,5 @@
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
</dict>
</plist>

View File

@ -130,6 +130,7 @@ const config: ForgeConfig = {
keychain: process.env.OSX_SIGN_KEYCHAIN_PATH,
identity: process.env.OSX_SIGN_IDENTITY,
provisioningProfile: process.env.OSX_SIGN_PROVISIONING_PROFILE_PATH,
preAutoEntitlements: platform !== "mas",
},
...(process.env.APPLE_ID &&
process.env.APPLE_PASSWORD &&