aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/internal/init/OneConfigInit.java
blob: 60480a2723bc31e6e04362b1aee2d9cc48a8aa97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cc.polyfrost.oneconfig.internal.init;

import org.spongepowered.asm.mixin.Mixins;

import java.io.File;

@SuppressWarnings("unused")
public class OneConfigInit {

    public static void initialize(String[] args) {
        Mixins.addConfiguration("mixins.oneconfig.json");
        final File oneConfigDir = new File("./OneConfig");
        oneConfigDir.mkdirs();
        new File(oneConfigDir, "profiles").mkdirs();
    }
}