zakk4223/CSVirtualCamera

Question: Pkg installer

Opened this issue · 1 comments

f0rr0 commented

I was wondering if you have any pointers on the package installer. I would imagine the installer installs the app and also takes care of the launch agent and the DAL plugin.

I noticed the pkg installer is marked as done in the readme but could not find anything further on it.

This repo explains all the moving parts best among all the other examples for a virtual cam DAL plugin 🥇

I looked at SnapCamera's plist and came up with the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>Label</key>
        <string>com.cocoasplit.vcam.assistant</string>
        <key>ProgramArguments</key>
        <array>
            <string>/Library/CoreMediaIO/Plug-Ins/DAL/CSVirtualCamera.plugin/Contents/Resources/CSVirtualCameraAssistant</string>
        </array>
        <key>MachServices</key>
        <dict>
            <key>com.cocoasplit.vcam.assistant</key>
            <true/>
        </dict>
    </dict>
</plist>

This should go into ~/Library/LaunchAgents/com.cocoasplit.vcam.assistant.plist

Does that sound correct?

That looks correct. The PKG installer is downloadable from this repo: see the Releases section, CSVirtualCamera_1.0.zip