Fix Resolve installer. Works with Beta

This commit is contained in:
Gabriel Brown 2024-06-10 09:23:24 -05:00
parent 529002947c
commit 501cb9ce47
2 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,19 @@
cd ~/Downloads/DaVinci_Resolve # Check for argument
sudo ./DaVinci_Resolve_18.6.4_Linux.run if [ -z "$1" ]; then
sudo cp /lib64/libglib-2.0.* /opt/resolve/libs/ echo "Usage: $0 <path to DaVinci_Resolve_17.2.2_Linux.run>"
read -rp "Press Enter to open the download page..."
xdg-open https://www.blackmagicdesign.com/products/davinciresolve
read -rp "Once the download is finished, press Enter to continue..."
read -rp "Path to zip file: " zip_path
unzip -q "$zip_path" -d ~/Downloads/DaVinci_Resolve
else
unzip -q "$1" -d ~/Downloads/DaVinci_Resolve
fi
chmod +x ~/Downloads/DaVinci_Resolve/*.run
sudo SKIP_PACKAGE_CHECK=1 ~/Downloads/DaVinci_Resolve/*.run
sudo mkdir -p /opt/resolve/libs/disabled-libraries/
sudo mv /opt/resolve/libs/libglib* /opt/resolve/libs/disabled-libraries
sudo mv /opt/resolve/libs/libgio* /opt/resolve/libs/disabled-libraries
sudo mv /opt/resolve/libs/libgmodule* /opt/resolve/libs/disabled-libraries

View File

@ -4,7 +4,6 @@ wget
python3 python3
python3-pip python3-pip
pipx pipx
pipenv
python3-devel python3-devel
python3-virtualenv python3-virtualenv
python3-gobject python3-gobject
@ -35,7 +34,6 @@ mokutil
openssl openssl
maven maven
cargo cargo
dotnet-sdk-7.0
dotnet-sdk-8.0 dotnet-sdk-8.0
wine wine
wine-mono wine-mono