Currently, when running flatpak Bottles devel build with bottles cli,
the program fails with an error about missing a gschema. This is because
there's a discrepancy between the app id and the gschema when running
the development build.
Fix it by specifying the correct schema name, by setting it to the
application id.
* Add support for pre_script_args and post_script_args in Manager and WineExecutor
* Add pre_script_args and post_script_args support in WineCommand and WineProgram
Enhance the WineCommand and WineProgram classes to accept pre-run and post-run script arguments. Update the UI to include fields for these arguments in the launch options dialog.
* Implement placeholder handling in WineExecutor and add unit tests
* Enhance BottleConfig with YAML registration and improve placeholder handling in WineExecutor
* Refactor BottleConfig to simplify YAML registration and enhance dataclass handling in yaml utility
* Update tooltip texts and add translations for pre-run and post-run script arguments in launch options dialog
* implement core infra for playtime tracking
* add tests
* implement signals
* Refactor playtime signal tests to use ProcessStartedPayload and ProcessFinishedPayload for improved clarity and structure.
* Use Result where needed
* add debug logs
* Add debug logging for playtime signal events and ensure proper database shutdown on exit
* Refactor tests to use mocker instead of monkeypatch for WineExecutor and WinePath, improving test clarity and maintainability.
* Add playtime tracking configuration options to gschema.xml, including enabling tracking and setting heartbeat interval.
* move integration tests
* Update development dependencies: add pytest-mock and freezegun to requirements.dev.txt
* reset config.py
* chore: change base to main
* refactor: remove unused imports in executor.py
* refactor: remove logging of executed command in WineCommand
---------
Co-authored-by: Mirko Brombin <brombin94@gmail.com>