mirror of
https://github.com/winapps-org/winapps.git
synced 2025-08-05 18:28:26 +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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user