You've already forked AstralRinth
forked from didirus/AstralRinth
Misc bugs 4 (#381)
* bug fixes * fixed jres being undetected * cleanup * prettier * fixed folders not displaying windows exporting * fixes, more bugs * missed function * clippy, fmt * prettier
This commit is contained in:
@@ -59,7 +59,7 @@ pub fn show_in_folder(path: String) -> Result<()> {
|
||||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
Command::new("explorer")
|
||||
.args(["/select,", &path]) // The comma after select is not a typo
|
||||
.args([&path]) // The comma after select is not a typo
|
||||
.spawn()?;
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ pub fn show_in_folder(path: String) -> Result<()> {
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
Command::new("open").args(["-R", &path]).spawn()?;
|
||||
Command::new("open").args([&path]).spawn()?;
|
||||
}
|
||||
|
||||
Ok::<(), theseus::Error>(())
|
||||
|
||||
Reference in New Issue
Block a user