* Fix fpcalc / AcoustID support for the sandbox
... 16 FUCKING HOURS OF MY LIFE I WILL NEVER GET BACK FUCK FUCK FUCK
This commit is contained in:
parent
f7848f52f3
commit
15b4695c20
19
build.xml
19
build.xml
|
@ -305,6 +305,25 @@
|
|||
<argument value="--log-file" />
|
||||
<argument value="filebot.log" />
|
||||
</bundleapp>
|
||||
|
||||
|
||||
<!-- fix permissions -->
|
||||
<chmod verbose="true" dir="${dir.dist}" includes="**/fpcalc" perm="755" />
|
||||
|
||||
<!-- sign cmdline tool first -->
|
||||
<exec dir="${dir.dist}" executable="codesign">
|
||||
<arg line="--verbose=4 --sign '-' --entitlements '${dir.installer}/appbundle/fpcalc.entitlements' --prefix net.filebot.tools -i org.acoustid.fpcalc FileBot.app/Contents/MacOS/fpcalc" />
|
||||
</exec>
|
||||
|
||||
<!-- sign app with entitlements -->
|
||||
<exec dir="${dir.dist}" executable="codesign">
|
||||
<arg line="--verbose=4 --deep --sign '-' --entitlements '${dir.installer}/appbundle/FileBot.entitlements' FileBot.app" />
|
||||
</exec>
|
||||
|
||||
<!-- verify signature -->
|
||||
<exec dir="${dir.dist}" executable="codesign" failonerror="on">
|
||||
<arg line=" --verbose=4 --verify --deep FileBot.app" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<?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.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.bookmarks.app-scope</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.downloads.read-write</key>
|
||||
<true/>
|
||||
<key>com.apple.security.assets.movies.read-write</key>
|
||||
<true/>
|
||||
<key>com.apple.security.assets.music.read-write</key>
|
||||
<true/>
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
|
@ -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.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.security.inherit</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue