From ff428f36935cefd2b6d8ea6ba4a0572d75d6512d Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Mon, 13 Jan 2025 20:58:36 -0600 Subject: library downloads complete --- src/launcher/download.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/launcher/download.rs') diff --git a/src/launcher/download.rs b/src/launcher/download.rs index ec89a15..813117c 100644 --- a/src/launcher/download.rs +++ b/src/launcher/download.rs @@ -206,6 +206,10 @@ impl VerifiedDownload { self } + pub fn get_path(&self) -> &Path { + &self.path + } + pub async fn make_dirs(&self) -> Result<(), io::Error> { fs::create_dir_all(self.path.parent().expect("download created with no containing directory (?)")).await } -- cgit v1.2.3-70-g09d2