Skip to content

Commit

Permalink
chore: shellcheck (full this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
diniamo committed Feb 24, 2024
1 parent 15618c7 commit 4242ccb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lobster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,10 @@ EOF
}

configuration

# Edge case for Windows, just exits with dep_ch's error message if it can't find mpv.exe either
if [ "$player" = "mpv" ] && [ -z "$(command -v mpv)" ]; then
if [ -n "$(command -v mpv.exe)" ]; then
if [ "$player" = "mpv" ] && ! command -v mpv >/dev/null; then
if command -v mpv.exe >/dev/null; then
player="mpv.exe"
else
dep_ch mpv.exe
Expand Down

0 comments on commit 4242ccb

Please sign in to comment.