Skip to content

1.3 - Windows AppImage fix

Latest
Compare
Choose a tag to compare
@Wolfyxon Wolfyxon released this 10 Nov 20:03
· 75 commits to main since this release

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 with lover run, or "build" if the game is packaged.
  • LOVER_TIMESTAMP: UNIX timestamp of the time when the game was built (or ran with lover run)

Custom

[env] field for lover.toml with:

  • global: Always applied
  • build: Applied when the game is built
  • run: Applied when the game is ran with lover 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.