From 303e570986cd05d0803121ebd9eca57b718e218d Mon Sep 17 00:00:00 2001
From: Zeglius <33781398+Zeglius@users.noreply.github.com>
Date: Mon, 16 Sep 2024 19:50:16 +0200
Subject: [PATCH 1/3] feat(ujust): Add ujust install-resolve
---
build/ublue-os-just/30-distrobox.just | 81 +++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/build/ublue-os-just/30-distrobox.just b/build/ublue-os-just/30-distrobox.just
index 84a9f62d..977fdb4c 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