File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
repak-gui/src/install_mod Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pub mod pak_files;
44pub mod patch_meshes;
55
66use crate :: install_mod:: InstallableMod ;
7- use iotoc:: convert_to_iostore_directory ;
7+ use iotoc:: convert_directory_to_iostore ;
88use log:: { error, info, warn} ;
99use pak_files:: create_repak_from_pak;
1010use std:: path:: { Path , PathBuf } ;
@@ -71,7 +71,7 @@ pub fn install_mods_in_viewport(
7171 }
7272
7373 if installable_mod. is_dir {
74- let res = convert_to_iostore_directory (
74+ let res = convert_directory_to_iostore (
7575 installable_mod,
7676 PathBuf :: from ( & mod_directory) ,
7777 PathBuf :: from ( & installable_mod. mod_path ) ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use std::fs::File;
1616use path_slash:: PathExt ;
1717
1818
19- pub fn convert_to_iostore_directory (
19+ pub fn convert_directory_to_iostore (
2020 pak : & InstallableMod ,
2121 mod_dir : PathBuf ,
2222 to_pak_dir : PathBuf ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use std::path::{Path, PathBuf};
1414use std:: sync:: atomic:: AtomicI32 ;
1515use tempfile:: tempdir;
1616
17- use super :: iotoc:: convert_to_iostore_directory ;
17+ use super :: iotoc:: convert_directory_to_iostore ;
1818
1919pub fn extract_pak_to_dir ( pak : & InstallableMod , install_dir : PathBuf ) -> Result < ( ) , repak:: Error > {
2020 let pak_reader = pak. clone ( ) . reader . clone ( ) . unwrap ( ) ;
@@ -87,7 +87,7 @@ pub fn create_repak_from_pak(
8787 let temp_path = temp_dir. path ( ) ; // Get the path of the temporary directory
8888
8989 extract_pak_to_dir ( pak, temp_path. to_path_buf ( ) ) ?;
90- convert_to_iostore_directory (
90+ convert_directory_to_iostore (
9191 pak,
9292 mod_dir. clone ( ) ,
9393 temp_path. to_path_buf ( ) ,
You can’t perform that action at this time.
0 commit comments