1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 12:50:16 +00:00

Always remove menu conf file on startup (for version upgrade bug)

This commit is contained in:
jugeeya 2020-06-16 09:16:45 -07:00
parent 79a84fba3a
commit ab211a7aee

View file

@ -45,9 +45,8 @@ pub fn main() {
);
mkdir(c_str!("sd:/TrainingModpack/"), 0777);
if access(c_str!("sd:/TrainingModpack/training_modpack.conf"), 0) != -1 {
remove(c_str!("sd:/TrainingModpack/training_modpack.conf"));
}
println!("[Training Modpack] Removing training_modpack_menu.conf...");
remove(c_str!("sd:/TrainingModpack/training_modpack_menu.conf"));
let mut f = fopen(
c_str!("sd:/TrainingModpack/training_modpack.log"),