diff --git a/README.md b/README.md index 9459ae8..f979d74 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,8 @@ If `lua` and a `conf.lua` file are found, it will automatically detect which version your project uses. If a `ProjectName.icns` file is provided, the script will use it to set the game icon on MacOS. -If a `ProjectName.ico` file is provided, and that Wine -and Resource Hacker are installed, the script will use them -to set the game icon on Windows. +If a `ProjectName.ico` file is provided, and that Wine is installed, +the script will use it to set the game icon on Windows. ### OPTIONS `-h` Print a short help @@ -111,7 +110,7 @@ but if provided it can use them. - if you want to create Windows icons (.ico), you can - use [icoutils](http://www.nongnu.org/icoutils/) to create the icon, - then [Wine](http://www.winehq.org/) and [Resource Hacker](http://www.angusj.com/resourcehacker/) to set the icon. - This last step can be automatically done, assuming Wine and Resource Hacker are installed. + This last step can be automatically done, assuming Wine is installed. If you want to add icons in the debian package, open it and put the icons in `/usr/share/icons/hicolor/YYxYY/apps/`, diff --git a/love-release.1 b/love-release.1 index b3a28b9..be98140 100644 --- a/love-release.1 +++ b/love-release.1 @@ -21,8 +21,7 @@ it will automatically detect which version your project uses. If a \fIProjectName.icns\fR file is provided, the script will use it to set the game icon on MacOS. If a \fIProjectName.ico\fR file is provided, and that \fBWine\fR -and \fBResource Hacker\fR are installed, the script will use them -to set the game icon on Windows. +is installed, the script will use it to set the game icon on Windows. .SH OPTIONS .TP .B \-h @@ -147,7 +146,7 @@ If you want to create Windows icons (\fI.ico\fR), you can use \fIicoutils\fR to create the icon, then Wine and Resource Hacker to set the icon. This last step can be automatically done, -assuming Wine and Resource Hacker are installed. +assuming Wine is installed. .br If you want to add icons in the debian package, open it and put the icons in \fI/usr/share/icons/hicolor/YYxYY/apps/\fR, diff --git a/love-release.sh b/love-release.sh index 05d2451..1ba3508 100755 --- a/love-release.sh +++ b/love-release.sh @@ -70,6 +70,7 @@ LOVE_GT_090=$(float_test "$LOVE_VERSION_MAJOR >= 0.9") # Global variables ARGS=( "$@" ) SCRIPT_ARGS="$SCRIPT_ARGS h; v: refresh help" +SCRIPT_ARGS=$(printf '%s\n' $SCRIPT_ARGS | sort -u) PROJECT_FILES= EXCLUDE_FILES=$(/bin/ls -A | grep "^[.]" | tr '\n' ' ') @@ -161,10 +162,10 @@ remove_love_file () exit_module () { - if [ -z $2 ]; then + if [ -z "$2" ]; then echo "Done !" else - echo $2 + echo -e "$2" fi exit $1 } diff --git a/scripts/windows.sh b/scripts/windows.sh index 1830bec..8fe5a90 100644 --- a/scripts/windows.sh +++ b/scripts/windows.sh @@ -9,7 +9,7 @@ do PROJECT_ICO=$OPTARG fi done -EXCLUDE_FILES="$EXCLUDE_FILES $PROJECT_ICO test" +EXCLUDE_FILES="$EXCLUDE_FILES $PROJECT_ICO" # Wine FOUND_WINE=true