some reorganization

This commit is contained in:
Simon Gardling
2022-03-21 08:35:28 -04:00
parent cfd9310232
commit 2ee992f8e0
3 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ lazy_static::lazy_static! {
log_helper("Loading assets...");
let mut tar_file_data = Vec::new();
let _ = ruzstd::StreamingDecoder::new(&mut include_bytes!("../data.tar.zst").as_slice()).unwrap().read_to_end(&mut tar_file_data).unwrap();
let _ = ruzstd::StreamingDecoder::new(&mut include_bytes!("../assets.tar.zst").as_slice()).expect("failed to decompress tarball").read_to_end(&mut tar_file_data).expect("failed to read asset contents");
let mut tar_archive = tar::Archive::new(&*tar_file_data);