mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Add Love default version. Can be updated to follow Love dev.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
You can use love-release.sh to generate Love 2D game applications and get over the fastidious zipping commands you had to do.
|
You can use love-release.sh to generate Love 2D game applications and get over the fastidious zipping commands you had to do.
|
||||||
The script fully supports Windows, MacOS either on x86 or x64.
|
The script fully supports Windows, MacOS either on x86 or x64.
|
||||||
It needs an Internet connection to download Love files, and relies on curl, zip and unzip commands.
|
It needs an Internet connection to download Love files, and relies on curl, zip and unzip commands.
|
||||||
|
To set the default Love version to use, you can edit the very beginning of the script.
|
||||||
|
|
||||||
### OPTIONS
|
### OPTIONS
|
||||||
`-h` Print a short help
|
`-h` Print a short help
|
||||||
|
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Edit this if you want to use another Löve version.
|
||||||
|
LOVE_VERSION=0.9.0
|
||||||
|
|
||||||
|
|
||||||
## Short help ##
|
## Short help ##
|
||||||
function short_help()
|
function short_help()
|
||||||
{
|
{
|
||||||
@@ -30,6 +34,7 @@ DESCRIPTION
|
|||||||
You can use love-release.sh to generate Love 2D game applications and get over the fastidious zipping commands you had to do.
|
You can use love-release.sh to generate Love 2D game applications and get over the fastidious zipping commands you had to do.
|
||||||
The script fully supports Windows, MacOS either on x86 or x64.
|
The script fully supports Windows, MacOS either on x86 or x64.
|
||||||
It needs an Internet connection to download Love files, and relies on curl, zip and unzip commands.
|
It needs an Internet connection to download Love files, and relies on curl, zip and unzip commands.
|
||||||
|
To set the default Love version to use, you can edit the very beginning of the script.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-h Print a short help
|
-h Print a short help
|
||||||
@@ -176,15 +181,14 @@ RELEASE_LOVE=false
|
|||||||
RELEASE_OSX=false
|
RELEASE_OSX=false
|
||||||
RELEASE_WIN_32=false
|
RELEASE_WIN_32=false
|
||||||
RELEASE_WIN_64=false
|
RELEASE_WIN_64=false
|
||||||
LOVE_GT_080=1 # Support Windows x64
|
LOVE_VERSION_MAJOR=`echo "$LOVE_VERSION" | grep -Eo '^[0-9]+\.?[0-9]*'`
|
||||||
LOVE_GT_090=1 # Support MacOS x64
|
LOVE_GT_080=`echo "$LOVE_VERSION_MAJOR>=0.8" | bc`
|
||||||
|
LOVE_GT_090=`echo "$LOVE_VERSION_MAJOR>=0.9" | bc`
|
||||||
|
|
||||||
PROJECT_FILES=
|
PROJECT_FILES=
|
||||||
PROJECT_NAME=${PWD##/*/}
|
PROJECT_NAME=${PWD##/*/}
|
||||||
COMPANY_NAME=love2d
|
COMPANY_NAME=love2d
|
||||||
RELEASE_DIR=$PWD/releases
|
RELEASE_DIR=$PWD/releases
|
||||||
LOVE_VERSION=0.9.0
|
|
||||||
LOVE_VERSION_MAJOR=0.9
|
|
||||||
|
|
||||||
DEBUG=false
|
DEBUG=false
|
||||||
CACHE_DIR=~/.cache/love-release
|
CACHE_DIR=~/.cache/love-release
|
||||||
|
Reference in New Issue
Block a user