Minor modifications ready for release
This commit is contained in:
parent
b8edecb7bb
commit
c140844a71
@ -1,6 +1,6 @@
|
||||
package xyz.mrmelon54.codesize.callback;
|
||||
|
||||
import xyz.mrmelon54.codesize.utils.Preset;
|
||||
import xyz.mrmelon54.codesize.process.Preset;
|
||||
|
||||
public interface PresetCallback {
|
||||
void changePreset(Preset preset);
|
||||
|
@ -1,6 +1,7 @@
|
||||
package xyz.mrmelon54.codesize.utils;
|
||||
package xyz.mrmelon54.codesize.process;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import xyz.mrmelon54.codesize.process.Preset;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
@ -1,4 +1,4 @@
|
||||
package xyz.mrmelon54.codesize.utils;
|
||||
package xyz.mrmelon54.codesize.process;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.UUID;
|
@ -2,7 +2,7 @@ package xyz.mrmelon54.codesize.ui;
|
||||
|
||||
import xyz.mrmelon54.codesize.CodeSize;
|
||||
import xyz.mrmelon54.codesize.utils.ComponentUtils;
|
||||
import xyz.mrmelon54.codesize.utils.Preset;
|
||||
import xyz.mrmelon54.codesize.process.Preset;
|
||||
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.EmptyBorder;
|
||||
|
@ -5,7 +5,7 @@ import xyz.mrmelon54.codesize.CodeSize;
|
||||
import xyz.mrmelon54.codesize.callback.PresetCallback;
|
||||
import xyz.mrmelon54.codesize.components.JIconButton;
|
||||
import xyz.mrmelon54.codesize.utils.Pair;
|
||||
import xyz.mrmelon54.codesize.utils.Preset;
|
||||
import xyz.mrmelon54.codesize.process.Preset;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
@ -7,6 +7,6 @@ import java.util.Properties;
|
||||
public class DirUtils {
|
||||
public static String getConfigDir() {
|
||||
Properties buildProps = BuildInfoUtils.getBuildProps();
|
||||
return AppDirsFactory.getInstance().getUserConfigDir(buildProps.getProperty("appId"), buildProps.getProperty("appVersion"), buildProps.getProperty("appAuthor"));
|
||||
return AppDirsFactory.getInstance().getUserConfigDir(buildProps.getProperty("appId"), "", buildProps.getProperty("appAuthor"));
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,8 @@ import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import xyz.mrmelon54.codesize.enums.Theme;
|
||||
import xyz.mrmelon54.codesize.ex.CannotCreateConfigFolderException;
|
||||
import xyz.mrmelon54.codesize.process.BuiltinPresets;
|
||||
import xyz.mrmelon54.codesize.process.Preset;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
Loading…
Reference in New Issue
Block a user