Replace trailing period in folder names when saving plugin file
NTFS apparently does not like that and it breaks.
This commit is contained in:
parent
203af0adc9
commit
589b00923e
@ -151,7 +151,7 @@ pub async fn process_plugin(
|
|||||||
game_name,
|
game_name,
|
||||||
&format!("{}", db_mod.nexus_mod_id),
|
&format!("{}", db_mod.nexus_mod_id),
|
||||||
&format!("{}", db_file.nexus_file_id),
|
&format!("{}", db_file.nexus_file_id),
|
||||||
file_path,
|
&file_path.replace("./", "/"), // NTFS does not like trailing periods in folder names
|
||||||
]
|
]
|
||||||
.iter()
|
.iter()
|
||||||
.collect::<PathBuf>();
|
.collect::<PathBuf>();
|
||||||
|
Loading…
Reference in New Issue
Block a user