Update installer.sh

Not adding a new line was causing a "directory does not exist" error because the line was continuos with the '#'
This commit is contained in:
MrTumnis 2024-06-12 18:22:09 -06:00 committed by GitHub
parent 5eb4439a5f
commit 5f2e052a43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ Categories=$CATEGORIES
MimeType=$MIME_TYPES
" | $SUDO tee "$APP_PATH/$1.desktop" >/dev/null
$SUDO rm -f "$BIN_PATH/$1"
echo "#!/usr/bin/env bash $BIN_PATH/winapps $1 $*
echo -e "#!/usr/bin/env bash \n $BIN_PATH/winapps $1 $*
" | $SUDO tee "$BIN_PATH/$1" >/dev/null
$SUDO chmod a+x "$BIN_PATH/$1"
fi