mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 04:56:52 +00:00
Modpack support (#60)
* Modpack support * Finish feature * Tauri errors fix (#61) * async impl * working * fmt and redundancy * moved ? to if let Ok block * Finish modpacks support * remove generated file * fix compile err * fix lint * Fix code review comments + forge support --------- Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
This commit is contained in:
co-authored by
Wyatt Verchere
parent
6965487b56
commit
b9a3a6dc11
@@ -209,7 +209,8 @@ pub fn check_java_at_filepath(path: PathBuf) -> Option<JavaVersion> {
|
||||
// Extracting version numbers
|
||||
lazy_static! {
|
||||
static ref JAVA_VERSION_CAPTURE: Regex =
|
||||
Regex::new(r#"version "([\d\._]+)""#).unwrap();
|
||||
Regex::new(r#"version "([\d\._]+)""#)
|
||||
.expect("Error creating java version capture regex");
|
||||
}
|
||||
|
||||
// Extract version info from it
|
||||
|
||||
Reference in New Issue
Block a user