Use Lua itself to find the version of the project

This commit is contained in:
Antonin Décimo
2014-05-20 21:47:01 +02:00
parent 2402cc4257
commit ea028f0448
2 changed files with 9 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ You can use love-release.sh to generate Love 2D game applications and get over t
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.
To set the default Love version to use, you can edit the very beginning of the script.
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.
### OPTIONS
@@ -40,7 +41,6 @@ If a `ProjectName.icns` file is provided, the script will use it to set the game
`-u` Set the company name. Provide it for MacOS CFBundleIdentifier.
`-v` Love version. Default is 0.9.1.
The script should normally be able to detect wich version of Love you are using by parsing `conf.lua`.
Starting with Love 0.8.0, a release is specially available for Windows x64.
Starting with Love 0.9.0, Love no longer supports old x86 Macintosh.