public override int Main(Dictionary <string, object> args) { var warnMsg = CoreLib.Current.Languages.Get("EObsoleteAndTryImageHelper"); Ux.Warn(warnMsg); return(ERR); }
protected override int Main() { var warnMsg = CoreLib.Current.Languages.Get("EFlashRecoveryObsoleteMsg"); Ux.Warn(warnMsg); return(ERR); }
protected override int VisualMain() { if (TargetDevice is NetDevice) { Ux.Message(Res("EGCMAlreadyEnableNetDebugging")); return(OK); } else if (TargetDevice is UsbDevice usbDevice) { WriteInitInfo(); WriteRunning(); usbDevice.OpenNetDebugging(5555, true); return(OK); } Ux.Warn(Res("EGCMNotSupported")); return(ERR); }