aboutsummaryrefslogtreecommitdiffstats
path: root/sign.sh
blob: b1eb0add53e527a22fb86f96407bbdbe60725cec (plain)
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/Libre Video Converter.app/Contents/Helpers"/*
do
    codesign -fs \
      'Fredom Operating System: Heckyel | 2017' \
      "${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/Libre 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/Libre Video Converter.app/Contents/Frameworks/Python.framework/Versions/2.7"

codesign -fs \
  '3rd Party Mac Developer Application: Participatory Culture Foundation' \
  "dist/Libre Video Converter.app/Contents/Frameworks/Sparkle.framework/Versions/A"

codesign -fs \
  '3rd Party Mac Developer Application: Participatory Culture Foundation' \
  "dist/Libre Video Converter.app"