mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-03 21:57:18 +02:00
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:
parent
5eb4439a5f
commit
5f2e052a43
@ -110,7 +110,7 @@ Categories=$CATEGORIES
|
|||||||
MimeType=$MIME_TYPES
|
MimeType=$MIME_TYPES
|
||||||
" | $SUDO tee "$APP_PATH/$1.desktop" >/dev/null
|
" | $SUDO tee "$APP_PATH/$1.desktop" >/dev/null
|
||||||
$SUDO rm -f "$BIN_PATH/$1"
|
$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 tee "$BIN_PATH/$1" >/dev/null
|
||||||
$SUDO chmod a+x "$BIN_PATH/$1"
|
$SUDO chmod a+x "$BIN_PATH/$1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user