alphax f7 special treatment
This commit is contained in:
parent
41b78ddd8a
commit
8939f7f781
|
@ -47,7 +47,8 @@ public class DfuFlasher {
|
|||
StatusWindow wnd = createStatusWindow();
|
||||
|
||||
boolean needsEraseFirst = false;
|
||||
if (BundleUtil.getBundleTarget().contains("f7")) {
|
||||
String bundle = BundleUtil.getBundleTarget();
|
||||
if (bundle.contains("alphax") && bundle.contains("f7")) {
|
||||
int result = JOptionPane.showConfirmDialog(parent, "Firmware update requires a full erase of the ECU. If your tune is not saved in TunerStudio, it will be lost.\nEnsure that TunerStudio has your current tune saved!\n\nAfter updating, re-connect TunerStudio to restore your tune.\n\nPress OK to continue with the update, or Cancel to abort so you can save your tune.", "WARNING", JOptionPane.OK_CANCEL_OPTION);
|
||||
|
||||
// 0 means they clicked "OK", 1 means they clicked "Cancel"
|
||||
|
|
Loading…
Reference in New Issue