-
Notifications
You must be signed in to change notification settings - Fork 18
/
Install_nix.sh
23 lines (17 loc) · 957 Bytes
/
Install_nix.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#Simple Installer. Use at your own risk!
if [ $(uname -s) = "Linux" ]; then
IDT_FOLDER="${HOME}/.local/share/DaVinciResolve/ACES Transforms/IDT"
ODT_FOLDER="${HOME}/.local/share/DaVinciResolve/ACES Transforms/ODT"
LUT_FOLDER="/opt/resolve/LUT"
elif [ $(uname -s) = "Darwin" ]; then
IDT_FOLDER="${HOME}/Library/Application Support/Blackmagic Design/DaVinci Resolve/ACES Transforms/IDT"
ODT_FOLDER="${HOME}/Library/Application Support/Blackmagic Design/DaVinci Resolve/ACES Transforms/ODT"
LUT_FOLDER="/Library/Application Support/Blackmagic Design/DaVinci Resolve/LUT"
fi
mkdir -p "${IDT_FOLDER}"
mkdir -p "${ODT_FOLDER}"
cp IDT/*.dctl "${IDT_FOLDER}/" && echo "Installed IDTs" || echo "Failed to install IDTs"
cp ODT/*.dctl "${ODT_FOLDER}/" && echo "Installed ODTs" || echo "Failed to install ODTs"
sudo cp -R LUT/ "${LUT_FOLDER}/" && echo "Installed DCTLs to LUT Folder" || echo "Failed to install DCTLs to LUT Folder"
exit 0