-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathsign.sh
30 lines (23 loc) · 999 Bytes
/
sign.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
for i in "dist/Miro Video Converter.app/Contents/Helpers"/*
do
codesign -fs \
'3rd Party Mac Developer Application: Participatory Culture Foundation' \
"${i}"
done
# Fix up the python framework installation from py2app: it doesn't
# copy over all the files that constitutes it to be a valid framework.
pushd "dist/Miro Video Converter.app/Contents/Frameworks/Python.framework"
ln -sf Versions/Current/Python Python
ln -sf Versions/Current/Resources Resources
ln -sf 2.7 Versions/Current
popd
codesign -fs \
'3rd Party Mac Developer Application: Participatory Culture Foundation' \
"dist/Miro Video Converter.app/Contents/Frameworks/Python.framework/Versions/2.7"
codesign -fs \
'3rd Party Mac Developer Application: Participatory Culture Foundation' \
"dist/Miro Video Converter.app/Contents/Frameworks/Sparkle.framework/Versions/A"
codesign -fs \
'3rd Party Mac Developer Application: Participatory Culture Foundation' \
"dist/Miro Video Converter.app"