3 Commits

Author SHA1 Message Date
Stef Tervelde
467cee749b Rewrite of the Base.getSettingsFolder() and Platform.getSettingsFolder() (#1335)
* Rewrite of the `Base.getSettingsFolder()` and `Platform.getSettingsFolder()`

Rewrote both function so they fit into a single file, negating the need for hopping around when looking into what this functionality does.

Also rewrote it so it is no longer generates random awt windows through the `Messages` class

* Fixed issue with missing /

* Added both options for overrides

- Added the previous settings override in base again
- Added a system property to override the settings folder within tests

* Add support for portable settings detection

Introduces logic to detect a preferences.txt file in the same folder as the running executable or jar. If found, settings are loaded from this location, improving portability and allowing users to override default settings without modifying system directories.
2025-12-05 14:26:01 -05:00
josh giesbrecht
266e7a56b1 correcting build.gradle.kts files 2025-08-01 12:00:13 -07:00
josh giesbrecht
22dde0fb96 refactoring SketchException to app:utils 2025-07-31 16:02:48 -07:00