create script dirs on install

This commit is contained in:
Keagan McClelland
2022-05-06 16:18:07 -06:00
parent 2890798342
commit 0294143b22
3 changed files with 19 additions and 11 deletions

View File

@@ -305,4 +305,8 @@ impl<R: AsyncRead + AsyncSeek + Unpin> S9pkReader<R> {
pub async fn assets<'a>(&'a mut self) -> Result<ReadHandle<'a, R>, Error> {
Ok(self.read_handle(self.toc.assets).await?)
}
pub async fn scripts<'a>(&'a mut self) -> Result<ReadHandle<'a, R>, Error> {
Ok(self.read_handle(self.toc.scripts).await?)
}
}