diff --git a/build/ublue-os-just/30-distrobox.just b/build/ublue-os-just/30-distrobox.just index 84a9f62d..bb1def53 100644 --- a/build/ublue-os-just/30-distrobox.just +++ b/build/ublue-os-just/30-distrobox.just @@ -79,3 +79,84 @@ install-obs-studio-portable: #!/usr/bin/bash source /usr/lib/ujust/ujust.sh AssembleList "/etc/distrobox/apps.ini" create "obs-studio-portable" + +# Install/update DaVinci Resolve, a closed-source video editing utility +install-resolve ACTION="": + #!/usr/bin/bash + source /usr/lib/ujust/ujust.sh + set -eo pipefail + SCRIPT_URL="https://raw.githubusercontent.com/zelikos/davincibox/3e51fa38ac7512a26d644d0f48d8cf99921d80de/setup.sh" + DOWNLOADDIR=$(xdg-user-dir DOWNLOAD || echo ${HOME}) + tmpdir=/var/tmp/bazzite_davincibox_setup.tmp + mkdir -p $tmpdir + trap "rm -rf ${tmpdir}" INT EXIT HUP + OPTION={{ ACTION }} + if [ "$OPTION" == "help" ]; then + echo "Usage: ujust install-resolve