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:
parent
79a84fba3a
commit
ab211a7aee
1 changed files with 2 additions and 3 deletions
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue