IDEA Run Configurations for console
This commit is contained in:
parent
3851b37be6
commit
7150ee8169
|
@ -2,7 +2,7 @@
|
|||
<configuration default="false" name="Launcher" type="Application" factoryName="Application">
|
||||
<option name="MAIN_CLASS_NAME" value="com.rusefi.Launcher" />
|
||||
<module name="ui" />
|
||||
<option name="VM_PARAMETERS" value="-Dtools_path=../misc/install -Dinput_files_path=../firmware/deliver" />
|
||||
<option name="VM_PARAMETERS" value="-Dtools_path=../misc/install -Dinput_files_path=../firmware/deliver -Dini_file_path=../firmware/tunerstudio -Dshow_etb_pane=true" />
|
||||
<RunnerSettings RunnerId="Debug">
|
||||
<option name="DEBUG_PORT" value="" />
|
||||
<option name="TRANSPORT" value="0" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<option name="MAIN_CLASS_NAME" value="com.rusefi.Launcher" />
|
||||
<module name="ui" />
|
||||
<option name="PROGRAM_PARAMETERS" value="auto" />
|
||||
<option name="VM_PARAMETERS" value="-Dinput_files_path=../firmware/tunerstudio" />
|
||||
<option name="VM_PARAMETERS" value="-Dini_file_path=../firmware/tunerstudio -Dshow_etb_pane=true" />
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
|
|
|
@ -48,7 +48,8 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
|||
* @see EngineSnifferPanel
|
||||
*/
|
||||
public class Launcher {
|
||||
public static final int CONSOLE_VERSION = 20190829;
|
||||
public static final int CONSOLE_VERSION = 20190830;
|
||||
public static final String INI_FILE_PATH = System.getProperty("ini_file_path", "..");
|
||||
public static final String INPUT_FILES_PATH = System.getProperty("input_files_path", "..");
|
||||
public static final String TOOLS_PATH = System.getProperty("tools_path", ".");
|
||||
private static final String TAB_INDEX = "main_tab";
|
||||
|
|
|
@ -12,7 +12,7 @@ public class PaneSettings {
|
|||
|
||||
|
||||
public PaneSettings(Node config) {
|
||||
showEtbPane = config.getBoolProperty(SHOW_ETB, false);
|
||||
showEtbPane = Boolean.getBoolean(SHOW_ETB) ;//config.getBoolProperty(SHOW_ETB, false);
|
||||
showFuelTunePane = config.getBoolProperty(SHOW_FUEL_TUNE, false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.jetbrains.annotations.Nullable;
|
|||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
||||
import static com.rusefi.Launcher.INPUT_FILES_PATH;
|
||||
import static com.rusefi.Launcher.INI_FILE_PATH;
|
||||
|
||||
/**
|
||||
* (c) Andrey Belomutskiy
|
||||
|
@ -16,7 +16,7 @@ import static com.rusefi.Launcher.INPUT_FILES_PATH;
|
|||
public class IniFileModel {
|
||||
public static final String RUSEFI_INI = "rusefi.ini";
|
||||
// todo: https://sourceforge.net/p/rusefi/tickets/243/
|
||||
private static final String FILENAME = INPUT_FILES_PATH + File.separator + RUSEFI_INI;
|
||||
private static final String FILENAME = INI_FILE_PATH + File.separator + RUSEFI_INI;
|
||||
|
||||
private final static IniFileModel INSTANCE = new IniFileModel();
|
||||
private String dialogId;
|
||||
|
|
Loading…
Reference in New Issue