diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-12-12 20:39:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 20:39:47 +0100 |
commit | baa4d8b07b4cad0f56ad9719aaefc7ee8a615ff4 (patch) | |
tree | 0fb2a90f392aba9a9d5e9bdca0044df3914753db /src-tauri/src/lib.rs | |
parent | e768d9ffab874d5991336464c80eb3b9e5a28b0c (diff) | |
download | FlightCore-baa4d8b07b4cad0f56ad9719aaefc7ee8a615ff4.tar.gz FlightCore-baa4d8b07b4cad0f56ad9719aaefc7ee8a615ff4.zip |
feat: Expose installed NS mod directory (#109)
* feat: Expose installed NS mod directory
This allows other functions to get a mod directory directly which is
useful for e.g. deleting a mod.
* refactor: Return vector of NorthstarMod
instead of unnamed Tuples
Diffstat (limited to 'src-tauri/src/lib.rs')
-rw-r--r-- | src-tauri/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index ba89cc0a..675a06ef 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -35,6 +35,7 @@ pub struct NorthstarMod { pub name: String, pub thunderstore_mod_string: Option<String>, pub enabled: bool, + pub directory: String, } /// Check version number of a mod |