diff options
| author | Roy <Roy.mail.net@gmail.com> | 2023-09-07 16:38:33 +0300 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2023-09-07 16:38:33 +0300 |
| commit | e0edf9de24600db0242952064475fbbde157ccaf (patch) | |
| tree | 0b677955245a8f6b4d0cc03821a2831f4a95c30f /Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs | |
| parent | 485401ed82518d1fbc8753e96426a5426d4e6fd6 (diff) | |
| download | Tango-e0edf9de24600db0242952064475fbbde157ccaf.tar.gz Tango-e0edf9de24600db0242952064475fbbde157ccaf.zip | |
Ease up to PPC/Eureka release paths
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs index 39d8c9b18..76d3b3fc3 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Publisher.UI/MainWindowVM.cs @@ -142,7 +142,22 @@ namespace Tango.PPC.Publisher.UI _client = new PPCWebClient(); var settings = SettingsManager.Default.GetOrCreate<PublisherSettings>(); - Options = settings.Options; + var options = settings.Options; + + String vsPath = Path.GetFullPath(AppDomain.CurrentDomain.BaseDirectory + "..\\..\\..\\"); + + if (IsEureka) + { + options.InstallerProject = $@"{vsPath}\Advanced Installer Projects\Eureka Installer.aip"; + options.InstallerOutputFolder = $@"{vsPath}\Build\Installers\Eureka"; + } + else + { + options.InstallerProject = $@"{vsPath}\Visual_Studio\Advanced Installer Projects\PPC Installer.aip"; + options.InstallerOutputFolder = $@"{vsPath}\Build\Installers\PPC"; + } + + Options = options; _publisher = new PPCPublisher(Options); _publisher.IsEureka = IsEureka; |
