NelloKudo/osu-winello

osu-winello.sh | W10Fonts invalid variable

Closed this issue · 1 comments

https://github.com/NelloKudo/osu-winello/blob/main/osu-winello.sh#L998-L1001

    if [ "$fontsch" = 1 ] || [ "$fontsch" = 2 ] ; then  
    case "$installpath" in


    '1')

$installpath is not defined in the scope, causing function to exit with no logic executed on valid inputs.

Oh you’re actually right on this lmao, I probably just copied the case function from ConfigurePath when I rewrote the script and ended up not changing $installpath with $fontsch. Gonna fix that in next commit, thanks for noticing!! 😭