예제 #1
0
        /// <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);
        }
예제 #2
0
 public Task OnConsoleUpdate(ConsoleUpdate update)
 {
     ensureConsoleNum(update.index);
     consoleList_[update.index].AddBytes(update.data, 0, update.data.Length);
     return(Task.FromResult(0));
 }