Jre detection (#54)

* initial jre detection commit

* added WinReg searching

* added windows support + refactored

* Cargo lock

* fixed linux + added canonicalization

* fixed bug in mac

* Added dunce; handling UNC paths better for canonicalization

* missed cargo lock

* removed tests, added comments

* cargo fmt

* removed redundant mac address, loop over folder

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
This commit is contained in:
Wyatt Verchere
2023-03-28 10:31:47 -07:00
committed by GitHub
parent 5363cd0a15
commit 8512b45e2b
4 changed files with 261 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
//! Theseus utility functions
pub mod fetch;
pub mod jre;
pub mod platform;
/// Wrap a builder which uses a mut reference into one which outputs an owned value