Before running, make sure to install the venv on your local device by running
cd frontend/plugin
uv venvIn order to build the package, turn build-pkg.sh and postinstall into an executable, and run it:
cd ../..
chmod +x build-pkg.sh scripts/postinstall
./build-pkg.shThis creates: dist/ClipABit-Installer.pkg
You can then open the pkg by double clicking on it.
Current workaround: If it doesn't install the files in the desired folder, run:
sudo dist/ClipABit.pkgThis is the pkg builder base command used in build-pkg.sh:
pkgbuild --root frontend/plugin --install-location /Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Utility / --identifier com.clipabit.plugin.installer --version 1 ClipABit.pkgCheck if the plugin was installed successfully:
# Check if plugin directory exists
ls -la ~/Library/Application\ Support/Blackmagic\ Design/DaVinci\ Resolve/Fusion/Scripts/Utility/ClipABit/
ls -la ~/Library/Application\ Support/ClipABit/libTo do: Github actions setup Find out why it only works when you run it with sudo Github versioning