Skip to content

Commit

Permalink
fix(adl): Remove /usr/bin/ prefix from distrobox shortcut (#81)
Browse files Browse the repository at this point in the history
- Omits the `/usr/bin/` prefix from distrobox desktop shortcuts to
account for certain distrobox installation methods installing distrobox
to a different path.
- Leaves toolbox path alone since that's more Fedora-specific and
*should* always be at `/usr/bin/toolbox`

Fixes #80
  • Loading branch information
zelikos authored Jun 8, 2024
1 parent a925dda commit d7a2367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system_files/usr/bin/add-davinci-launcher
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ then
if [[ $container_type == "toolbox" ]]; then
container_run_command="/usr/bin/toolbox run -c davincibox"
elif [[ $container_type == "distrobox" ]]; then
container_run_command="/usr/bin/distrobox-enter -n davincibox --"
container_run_command="distrobox-enter -n davincibox --"
fi

sed -i "s,Exec=/opt/resolve/bin/resolve,Exec=$container_run_command /usr/bin/run-davinci," ~/.local/share/applications/{blackmagicraw*,DaVinci*}.desktop
Expand Down

0 comments on commit d7a2367

Please sign in to comment.