CI: Add post install script to OBS installer to fix CEF permissions
This commit is contained in:
parent
f92601f253
commit
42467c58e8
@ -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>
|
||||
|
4
CI/install/osx/post-install.sh
Normal file
4
CI/install/osx/post-install.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Fix permissions on CEF
|
||||
chmod 744 "/Library/Application Support/obs-studio/plugins/obs-browser/bin/CEF.app/Contents/Info.plist"
|
Loading…
x
Reference in New Issue
Block a user