progress
This commit is contained in:
parent
bb442d629b
commit
1294171dfa
|
@ -36,9 +36,9 @@ import java.io.IOException;
|
|||
import static com.romraider.Version.VERSION;
|
||||
|
||||
public class SettingsManager {
|
||||
private static final String SETTINGS_FILE = "/settings.xml";
|
||||
private static final String SETTINGS_FILE = "/romraider_settings.xml";
|
||||
private static final String USER_HOME =
|
||||
System.getProperty("user.home") + "/.rusefi.RomRaider";
|
||||
System.getProperty("user.home") + "/.rusEFI";
|
||||
private static final String START_DIR = System.getProperty("user.dir");
|
||||
private static String settingsDir = USER_HOME;
|
||||
|
||||
|
|
|
@ -8,7 +8,14 @@ import java.util.Map;
|
|||
|
||||
public class PersistentConfiguration {
|
||||
private static final PersistentConfiguration INSTANCE = new PersistentConfiguration();
|
||||
private static final String CONFIG_FILE_NAME = "rusefi_console_properties.xml";
|
||||
|
||||
private static final String RUSEFI_SETTINGS_FOLDER = System.getProperty("user.home") + File.separator + ".rusEFI";
|
||||
|
||||
static {
|
||||
new File(RUSEFI_SETTINGS_FOLDER).mkdirs();
|
||||
}
|
||||
|
||||
private static final String CONFIG_FILE_NAME = RUSEFI_SETTINGS_FOLDER + File.separator + "console_properties.xml";
|
||||
|
||||
private Map<String, Object> config = new HashMap<>();
|
||||
private boolean isLoaded;
|
||||
|
|
|
@ -19,6 +19,9 @@ import java.io.IOException;
|
|||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
||||
/**
|
||||
* by the way TS installs stuff into %user%\.efianalytics\TunerStudio\plugins folder
|
||||
*/
|
||||
public class TsPlugin implements ApplicationPlugin {
|
||||
private ControllerAccess controllerAccess;
|
||||
private final JPanel content = new JPanel(new VerticalFlowLayout());
|
||||
|
|
Loading…
Reference in New Issue