Commit a14618ae authored by Niklas Schäfer's avatar Niklas Schäfer
Browse files

try

parent a6d2f452
......@@ -17,6 +17,48 @@
<string>com.github.nstrauss.download.OBS</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>PackageRequired</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict/>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/Scripts</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
</dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%PKG%</string>
<key>destination_path</key>
<string>%pkgroot%/Applications</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>Unarchiver</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
......@@ -31,96 +73,63 @@
<dict>
<key>Processor</key>
<string>com.github.homebysix.VersionSplitter/VersionSplitter</string>
<key>Arguments</key>
<dict>
<key>split_on</key>
<string>-</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>file_content</key>
<string>#!/bin/sh
# remove virtual camera plug-in
/bin/rm -r /Library/CoreMediaIO/Plug-Ins/DAL/obs-mac-virtualcam.plugin
</string>
<key>file_mode</key>
<string>0755</string>
<key>file_path</key>
<string>%RECIPE_CACHE_DIR%/Scripts/postinstall</string>
</dict>
<key>Processor</key>
<string>FileCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>Processor</key>
<string>PackageRequired</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict/>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/Scripts</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
</dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%PKG%</string>
<key>destination_path</key>
<string>%pkgroot%/Applications</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Arguments</key>
<dict>
<key>file_content</key>
<string>#!/bin/sh
# copy virtual camera plug-in to its needed location to avoid an admin
# credentials prompt when starting the virtual camera for the first time
/bin/cp -R /Applications/OBS.app/Contents/Resources/data/obs-mac-virtualcam.plugin /Library/CoreMediaIO/Plug-Ins/DAL/
</string>
<key>file_mode</key>
<string>0755</string>
<key>file_path</key>
<string>%RECIPE_CACHE_DIR%/Scripts/postinstall</string>
</dict>
<key>Processor</key>
<string>FileCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_request</key>
<dict>
<key>id</key>
<string>de.mpg.aesthetics.pkg.%NAME%-%version%</string>
<key>pkgname</key>
<string>%NAME%-%version%</string>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/pkgroot</string>
<key>pkgtype</key>
<string>flat</string>
<key>scripts</key>
<string>Scripts</string>
<key>version</key>
<string>%version%</string>
</dict>
</dict>
<key>Processor</key>
<string>PkgCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/Scripts</string>
<string>%RECIPE_CACHE_DIR%/pkgroot</string>
<string>%RECIPE_CACHE_DIR%/OBS</string>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</string>
<key>id</key>
<string>de.mpg.aesthetics.pkg.%NAMEWITHOUTSPACES%-%version%</string>
<key>pkgname</key>
<string>%NAMEWITHOUTSPACES%-%version%</string>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/pkgroot</string>
<key>pkgtype</key>
<string>flat</string>
<key>scripts</key>
<string>Scripts</string>
<key>version</key>
<string>%version%</string>
</dict>
</array>
</dict>
<key>Processor</key>
<string>PkgCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/Scripts</string>
<string>%RECIPE_CACHE_DIR%/pkgroot</string>
<string>%RECIPE_CACHE_DIR%/OBS</string>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</string>
</dict>
</array>
</dict>
</plist>
</plist>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment