提交 0904a690 编写于 作者: J Jim 提交者: GitHub

Merge pull request #781 from DDRBoxman/cefperm

CI: Add post install script to OBS installer to fix CEF permissions
......@@ -9,9 +9,6 @@ sudo python ../CI/install/osx/build_app.py
mv ./CEF.app ./rundir/RelWithDebInfo/obs-plugins/
mv ./obs-browser.so ./rundir/RelWithDebInfo/obs-plugins/
# Fix permissions on CEF
chmod 744 ./CEF.app/Contents/Info.plist
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
sudo cp OBS.pkg ./$FILENAME
......
......@@ -573,7 +573,12 @@
<key>PACKAGE_SCRIPTS</key>
<dict>
<key>POSTINSTALL_PATH</key>
<dict/>
<dict>
<key>PATH</key>
<string>post-install.sh</string>
<key>PATH_TYPE</key>
<integer>3</integer>
</dict>
<key>PREINSTALL_PATH</key>
<dict/>
<key>RESOURCES</key>
......@@ -632,7 +637,7 @@
ZW50LVN0eWxlLVR5cGUiIGNvbnRlbnQ9InRleHQvY3NzIj4KPHRp
dGxlPjwvdGl0bGU+CjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29u
dGVudD0iQ29jb2EgSFRNTCBXcml0ZXIiPgo8bWV0YSBuYW1lPSJD
b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjE1MDQuNzYiPgo8c3R5bGUg
b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjE1MDQuODEiPgo8c3R5bGUg
dHlwZT0idGV4dC9jc3MiPgo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5
Pgo8L2JvZHk+CjwvaHRtbD4K
</data>
......
#!/usr/bin/env bash
# Fix permissions on CEF
chmod 744 "/Library/Application Support/obs-studio/plugins/obs-browser/bin/CEF.app/Contents/Info.plist"
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册