sign.sh 979 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/sh
  2. for i in "dist/Libre Video Converter.app/Contents/Helpers"/*
  3. do
  4. codesign -fs \
  5. 'Fredom Operating System: Jesús E. 2017 - 2020' \
  6. "${i}"
  7. done
  8. # Fix up the python framework installation from py2app: it doesn't
  9. # copy over all the files that constitutes it to be a valid framework.
  10. pushd "dist/Libre Video Converter.app/Contents/Frameworks/Python.framework"
  11. ln -sf Versions/Current/Python Python
  12. ln -sf Versions/Current/Resources Resources
  13. ln -sf 2.7 Versions/Current
  14. popd
  15. codesign -fs \
  16. '3rd Party Mac Developer Application: Participatory Culture Foundation' \
  17. "dist/Libre Video Converter.app/Contents/Frameworks/Python.framework/Versions/2.7"
  18. codesign -fs \
  19. '3rd Party Mac Developer Application: Participatory Culture Foundation' \
  20. "dist/Libre Video Converter.app/Contents/Frameworks/Sparkle.framework/Versions/A"
  21. codesign -fs \
  22. '3rd Party Mac Developer Application: Participatory Culture Foundation' \
  23. "dist/Libre Video Converter.app"