aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-02-25 09:20:02 +0200
committerAvi Levkovich <avi@twine-s.com>2019-02-25 09:20:02 +0200
commit44a35db8a2929fb3f6aa56ed08185e066292f106 (patch)
treeac744ffceb5f2a1d26852f66f52120781d0ac8d9 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
parenta9713d76bb1602c38cf204bf7e7b2daeb714bda2 (diff)
parentcc7cafd24fdb59afc78d198062c469344177f553 (diff)
downloadTango-44a35db8a2929fb3f6aa56ed08185e066292f106.tar.gz
Tango-44a35db8a2929fb3f6aa56ed08185e066292f106.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
index 1bd1e1eea..aca9dbcf7 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
@@ -282,13 +282,9 @@ namespace Tango.PPC.UI.ViewModels
/// </summary>
private void CompleteSetup()
{
- String updater_exe = Path.Combine(_setup_result.UpdatePackagePath, "Tango.PPC.Updater.exe");
-
LogManager.Log("Completing machine setup...");
- LogManager.Log($"Executing '{updater_exe}' with arguments '{PathHelper.GetStartupPath()}'...");
- Process.Start(updater_exe, PathHelper.GetStartupPath());
- LogManager.Log("Terminating application process!");
- _appManager.ShutDown();
+ String updater_exe = Path.Combine(_setup_result.UpdatePackagePath, "Tango.PPC.Updater.exe");
+ _appManager.UpdateApplication(updater_exe, PathHelper.GetStartupPath());
}
/// <summary>