private static void RunCommand() { if (!String.IsNullOrEmpty(Device) && !Device.Contains("All_iOS_On")) { Deployer.DeviceId = Device; } bool bResult = true; switch (Command) { case "backup": bResult = Deployer.BackupFiles(Bundle, FileList.ToArray()); break; case "deploy": bResult = Deployer.InstallFilesOnDevice(Bundle, Manifest); break; case "install": bResult = Deployer.InstallIPAOnDevice(ipaPath); break; case "enumerate": Deployer.EnumerateConnectedDevices(); break; } Program.ExitCode = bResult ? 0 : 1; }
private static void RunCommand() { Deployer.DeviceId = Device; bool bResult = true; switch (Command) { case "backup": bResult = Deployer.BackupFiles(Bundle, FileList.ToArray()); break; case "deploy": bResult = Deployer.InstallFilesOnDevice(Bundle, Manifest); break; case "install": bResult = Deployer.InstallIPAOnDevice(ipaPath); break; case "enumerate": Deployer.EnumerateConnectedDevices(); break; case "listdevices": Deployer.ListDevices(); break; case "listentodevice": Deployer.ListenToDevice(Device); break; } Program.ExitCode = bResult ? 0 : 1; }
public bool InstallFilesOnDevice(string BundleIdentifier, string ManifestFile) { return(Deployer.InstallFilesOnDevice(BundleIdentifier, ManifestFile)); }