Full Changelog: v1.2...v1.3
New features
Native AppImage support
The linux
target can finally be built natively on Windows.
appimagetool
is no longer needed. AppImages are now handled entirely by Lover.
More const features
More constants
LOVER_CONTEXT
: Equal to "run" if the game is ran withlover run
, or "build" if the game is packaged.LOVER_TIMESTAMP
: UNIX timestamp of the time when the game was built (or ran withlover run
)
Custom
[env]
field for lover.toml
with:
global
: Always appliedbuild
: Applied when the game is builtrun
: Applied when the game is ran withlover run
[env]
global = { pants = "my pants" }
run = { i = "am about to poop" }
build = { i = "pooped" }
print(os.getenv("i"), os.getenv("pants"))
(yes this is the best example I could think of)
Default run arguments
Added a new [run]
field with default_args
for lover.toml
[run]
default_args = ["hi", "hello"]
Those arguments are applied if nothing is specified after lover run
.
Otherwise, the arguments you specified in the command will be used.
Other
lover dep
now shows the dependency directory.
Changes
Cleaner build directory
Temporary files and directories that are not needed by the user (but needed by Lover) such as conf.lua
, squashfs-root
in build/, have been moved to build/temp to be less confusing and messy.