Skip to content

2.2.0

Choose a tag to compare

@Wolfyxon Wolfyxon released this 05 Jun 17:01
· 96 commits to main since this release

New features

copyright for [package]

The optional copyright value will appear in the EXE details.

[package]
name = "Copper"
copyright = "Copyright Ea-Nasir 1750 BCE - 2025

Other

  • Did you mean... for dependency queries
  • Showing Git commit hash for debug binaries in lover version

Changes and fixes

display_name instead of description for the program's display name on Windows

[package]
name = "coolGame"
display_name = "Cool Game"
[package]
name = "coolGame"
version = "1.0"

On Windows, file description in EXEs is the displayed program's title in the task manager. The description word is a bit problematic.

The description lover.toml [package] value has been changed to [display_name] to not confuse the users.
Also now the default value contains the name and version.

Getting in game:

os.getenv("LOVER_PKG_DISPLAY_NAME")

Default value:

{package name} {package version}

description is still available to use in the config and accessible with os.getenv("LOVER_PKG_DESCRIPTION") but for now has no other use.

Other

  • rcedit now runs before embedding the game into the EXE to fix a bug where it wouldn't find the game's code
  • [Y/N] confirmation now accepts both y and Y (#4 by @thefenriswolf)
  • lover build without any arguments and not configured defaults will now pick the target matching your platform
  • Minor performance improvements by using conditional compilation
  • Progress bars now use units. Example Downloading thing [===== ] 0.1/1.3 MB
  • Removed long description in lover create
  • Some message changes
  • Each target's build process is separated by an extra line for better readability
  • Fixed some progress bar issues
  • Fixed commands not being found on Windows
  • Fixed lover run showing no output on windows, by using lovec instead of love by default
  • Fixed file version not changing in the EXE details

Full Changelog: v2.1.1...v2.2.0