chore(tool manager): Progress on adding tools
Going to try changing around the download manager to take a generic trait rather than specifically for game downloads Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub trait ExternalComponent {
|
||||
fn download(&mut self);
|
||||
fn version(&self) -> &String;
|
||||
fn is_installed(&self) -> bool;
|
||||
fn location(&self) -> &Option<PathBuf>;
|
||||
}
|
||||
Reference in New Issue
Block a user