v1.0.1
Tomato.C v1.0.1
Patch release fixing the ErrorCode 8 crash when running outside the project
directory and introducing $DATADIR token expansion for portable TOML
configuration files.
What's fixed/changed
- Fix use-after-free in config loading — notification audio_path and noise
sound_path values read from TOML config files were stored as dangling
pointers after toml_free() invalidated the parser's string table, causing
InitApp() to read corrupted memory and fail with ErrorCode 8 when running
outside the project directory - $DATADIR token expansion — TOML config values for audio_path, sound_path, and
logging paths now support the $DATADIR token, resolved at load time to the
compile-time DATADIR path, making config files portable across installation
prefixes and working directories - Updated sample_config.toml — all hardcoded audio_path and sound_path values
replaced with $DATADIR/sounds/... tokens to prevent path breakage
Full changelog: CHANGELOG.md
To update, rebuild from source with sudo ./build.sh --install. See the
README for details.