You've already forked AstralRinth
forked from didirus/AstralRinth
Profile bindings (#55)
* basic framework. still has errors * added functionality for main endpoints + some structuring * formatting * unused code * mimicked CLI function with wait_for process * made PR changes, added playground * cargo fmt * removed missed println * misc tests fixes * cargo fmt * added windows support * cargo fmt * all OS use dunce * restructured profile slightly; fixed mac bug * profile changes, new main.rs * fixed requested pr + canonicaliation bug * fixed regressed bug in ui * fixed regressed bugs * fixed git error * typo * ran prettier * clippy * playground clippy * ported profile loading fix * profile change for real, url println and clippy * PR changes --------- Co-authored-by: Wyatt <wyatt@modrinth.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use dunce::canonicalize;
|
||||
use lazy_static::lazy_static;
|
||||
use regex::Regex;
|
||||
use std::collections::HashSet;
|
||||
@@ -11,12 +12,6 @@ use winreg::{
|
||||
RegKey,
|
||||
};
|
||||
|
||||
// Uses dunce canonicalization to resolve symlinks without UNC prefixes
|
||||
#[cfg(target_os = "windows")]
|
||||
use dunce::canonicalize;
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
use std::fs::canonicalize;
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||
pub struct JavaVersion {
|
||||
pub path: String,
|
||||
|
||||
Reference in New Issue
Block a user