Skip to content

Commit

Permalink
Add thing for future
Browse files Browse the repository at this point in the history
  • Loading branch information
eddy5641 committed Sep 20, 2014
1 parent f68d9e9 commit cdbf974
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion LCInstaller/Pages/Finished.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ public Finished()

private void Button_Click(object sender, RoutedEventArgs e)
{
if (Directory.Exists(Path.Combine(Logic.Logic.InstallDirectory, "Client")))
if (File.Exists(Path.Combine(Logic.Logic.InstallDirectory, "LCStartUpSplash.exe")))
{
var p = new System.Diagnostics.Process();
p.StartInfo.FileName = Path.Combine(Logic.Logic.InstallDirectory, "LCStartUpSplash.exe");
p.Start();
if (File.Exists(Path.Combine(Logic.Logic.InstallDirectory, "Client", "LegendaryClient.Log")))
File.Delete(Path.Combine(Logic.Logic.InstallDirectory, "Client", "LegendaryClient.Log"));
}
else if (Directory.Exists(Path.Combine(Logic.Logic.InstallDirectory, "Client")))
{
var p = new System.Diagnostics.Process();
p.StartInfo.FileName = Path.Combine(Logic.Logic.InstallDirectory, "Client", "LegendaryClient.exe");
Expand Down

0 comments on commit cdbf974

Please sign in to comment.