Skip to content

Commit

Permalink
fix: Overwrite upstream-added desktop shortcut with corrected version (
Browse files Browse the repository at this point in the history
…#39)

Fixes #36
  • Loading branch information
zelikos authored Nov 21, 2023
1 parent e416b06 commit 8cd66da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions system_files/usr/bin/add-davinci-launcher
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ then
sed -i 's/Exec=/Exec=\/usr\/bin\/distrobox-enter -n davincibox -- /' ~/.local/share/applications/{blackmagicraw*,DaVinci*}.desktop
fi

# Overwrite shortcut created by upstream DaVinci Resolve installer
desktop_shortcut=$HOME/Desktop/com.blackmagicdesign.resolve.desktop
if [[ -f $desktop_shortcut ]]
then
echo "Overwriting desktop shortcut..."
cp "$HOME/.local/share/applications/DaVinciResolve.desktop" "$desktop_shortcut"
fi

echo "Launcher setup complete."
echo "You can now launch DaVinci Resolve from your application menu."
echo ""
Expand Down

0 comments on commit 8cd66da

Please sign in to comment.