dynamically find window binaries instead of hardcode
also, terminal compile fix whoops
This commit is contained in:
@@ -242,6 +242,8 @@ impl AudioPlayer {
|
||||
if new_path.exists() {
|
||||
self.base_directory = new_path.to_str().unwrap().to_string();
|
||||
return "Set new base directory".to_string();
|
||||
} else {
|
||||
return "Failed to set new base directory".to_string();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user