From e112866a2cf44ddeb5b40e8ffc84614ecfe6abdf Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 25 Feb 2019 18:18:35 +0200 Subject: Implemented auto installer release for machine studio and PPC. --- .../MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs index e227c0904..479a657d6 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs @@ -63,7 +63,7 @@ namespace Tango.MachineStudio.Publisher.UI { PublishCommand = new RelayCommand(Publish, () => Options.Email != null && Options.Password != null && Options.Comments != null && LocalVersion != null && RemoteVersion != null && IsFree); - Options = new PublishOptions(); + Options = SettingsManager.Default.GetOrCreate().Options; _publisher = new MachineStudioPublisher(Options); _publisher.PublishProgress += _publisher_PublishProgress; @@ -93,6 +93,8 @@ namespace Tango.MachineStudio.Publisher.UI private async void Publish() { + SettingsManager.Default.Save(); + if (!ShowQuestion("Did you remember to synchronize production database ?")) { return; -- cgit v1.3.1