public void PrepareInstallation() { Console.WriteLine("Preparing installation..."); CreateMockFiles(); Apt.Update(); Apt.Starter.EnableErrorCheckingByTextMatching = false; // Disabled error checking because it causes false positives Apt.Install(AptPackageList); Docker.Install(); Python.Install(); PlatformIO.Install(); Mqtt.Install(); MqttBridge.Install(); UIController.Install(); ArduinoPlugAndPlay.Install(); Supervisor.Install(); WWW.Install(); foreach (var command in OtherCommands) { Starter.StartBash(command); } SettingsManager.SaveSettings(Context.Settings); Verifier.VerifyInstallation(); }
public void Install() { //Console.WriteLine(""); Console.WriteLine("Installing python..."); Apt.Starter.EnableErrorCheckingByTextMatching = false; // Disabled error checking because it causes false positives Apt.Install(Packages); InstallModules(Modules); foreach (var command in OtherCommands) { Console.WriteLine(" Executing command: " + command); Starter.StartBash(command); } //Console.WriteLine(Starter.Output); Starter.OutputBuilder.Clear(); Console.WriteLine("Finished installing python"); //Console.WriteLine(""); }
public void Install() { Apt.Install(Packages); }