Prepared for release
This commit is contained in:
parent
8cff012772
commit
16a1c9a06f
@ -56,11 +56,13 @@ namespace PWAPPv2
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ConfigPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
|
//ConfigPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
|
||||||
ConfigPath = Path.Combine(ConfigPath, "PWAPP\\Config\\");
|
//ConfigPath = Path.Combine(ConfigPath, "PWAPP\\Config\\");
|
||||||
|
|
||||||
|
ConfigPath = "C:\\PWAPP\\Config\\";
|
||||||
|
|
||||||
practiceConfig = new Source.Config.Configuration(ConfigPath + "PracticeConfig.xml");
|
practiceConfig = new Source.Config.Configuration(ConfigPath + "PracticeConfig.xml");
|
||||||
universalConfig = new Source.Config.Configuration(".\\Config\\UniversalConfig.xml");
|
universalConfig = new Source.Config.Configuration(ConfigPath + "UniversalConfig.xml");
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
(Exception)
|
(Exception)
|
||||||
@ -82,7 +84,7 @@ namespace PWAPPv2
|
|||||||
{
|
{
|
||||||
//System.Windows.MessageBox.Show("HAHA NO UPDATE FOR YOU!");
|
//System.Windows.MessageBox.Show("HAHA NO UPDATE FOR YOU!");
|
||||||
Process p = new Process();
|
Process p = new Process();
|
||||||
p.StartInfo.FileName = "E:\\PatientWebAPI\\PWAPPv2\\PWAPPv2\\PWAppUpdater2\\bin\\Release\\net6.0-windows\\PWAppUpdaterForm.exe";
|
p.StartInfo.FileName = "C:\\PWAPP\\Updater\\PWAppUpdaterForm.exe";
|
||||||
p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
|
p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
|
||||||
p.StartInfo.UseShellExecute = false;
|
p.StartInfo.UseShellExecute = false;
|
||||||
p.StartInfo.RedirectStandardOutput = true;
|
p.StartInfo.RedirectStandardOutput = true;
|
||||||
|
@ -270,9 +270,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Resource Include="Config\Config.xml" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Source\GUIData\" />
|
<Folder Include="Source\GUIData\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user