Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- check_system_support() {
- if [ "$(uname -m)" != "x86_64" ]; then
- echo "O DaVinci Resolve não é suportado em sistemas não x86_64."
- exit 1
- fi
- }
- install_dependencies() {
- apt update
- apt install -y libssl1.0.0 ocl-icd-opencl-dev
- }
- download_davinci_resolve() {
- wget https://www.blackmagicdesign.com/api/download/download-file/70649d347acc47f6b06c19cc4a92dce3/1a96819669ac4f7a8133df983f9852e2/linux
- }
- extract_davinci_resolve() {
- tar -xJf DaVinci_Resolve_*.tar.xz
- }
- install_davinci_resolve() {
- cd DaVinci_Resolve_*
- ./DaVinci_Resolve_*.run
- cd ..
- }
- cleanup_files() {
- rm -rf DaVinci_Resolve_*.tar.xz DaVinci_Resolve_*
- }
- install_davinci_resolve_main() {
- check_system_support
- install_dependencies
- download_davinci_resolve
- extract_davinci_resolve
- install_davinci_resolve
- cleanup_files
- echo "DaVinci Resolve foi instalado com sucesso."
- }
- install_davinci_resolve_main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement