/// <summary> /// Provides a console-friendly update interface. /// /// Exceptions will be displayed in the terminal. /// </summary> /// <param name="processInfo">Executable</param> /// <param name="address">Address to zip file</param> /// <param name="compressedFile">Zip file</param> public static void ConsoleUpdate(string compressedFile) { var install = new ConsoleUpdate(); install.InstallApp(compressedFile); }
public Task OnConsoleUpdate(ConsoleUpdate update) { ensureConsoleNum(update.index); consoleList_[update.index].AddBytes(update.data, 0, update.data.Length); return(Task.FromResult(0)); }