This commit is contained in:
ro1net 2026-08-08 05:16:51 -07:00 committed by GitHub
commit e2ba5240f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 0 deletions

10
entitlements.plist Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
</dict>
</plist>

View File

@ -125,6 +125,15 @@ const config: ForgeConfig = {
name: STRINGS.name,
executableName: STRINGS.execName,
icon: `${ASSET_DIR}/icon`,
osxSign: {
optionsForFile: (filePath) => {
return {
entitlements: './entitlements.plist'
};
}
}
// extraResource: [
// // include all the asset files
// ...globSync(ASSET_DIR + "/**/*"),