rust-xplm icon indicating copy to clipboard operation
rust-xplm copied to clipboard

Add various path utility functions

Open JDeeth opened this issue 8 months ago • 1 comments

This provides four new functions:

system_path()
prefs_path()
plugin_path()
aircraft_path()

They return PathBuf objects, which the user will presumably find straightforward to navigate from to get, e.g., the aircraft root folder.

I've moved the path_init function to the internal module and promoted paths to pub mod - is that OK?

JDeeth avatar Apr 29 '25 19:04 JDeeth