Skip to content

Commit b3f70b8

Browse files
committed
[FlashpointInstaller] Satisfy my OCD
1 parent 8155302 commit b3f70b8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

FlashpointInstaller/src/Forms/Finish.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ private void FinishDownload_Exit(object sender, EventArgs e)
1515
{
1616
if (RunOnClose.Checked)
1717
{
18-
var flashpointProcess = new Process();
19-
flashpointProcess.StartInfo.UseShellExecute = true;
20-
flashpointProcess.StartInfo.FileName = "Flashpoint.exe";
21-
flashpointProcess.StartInfo.WorkingDirectory = Path.Combine(FPM.Main.DestinationPath.Text, "Launcher");
22-
flashpointProcess.Start();
18+
new Process() { StartInfo = {
19+
UseShellExecute = true,
20+
FileName = "Flashpoint.exe",
21+
WorkingDirectory = Path.Combine(FPM.Main.DestinationPath.Text, "Launcher")
22+
}}.Start();
2323
}
2424

2525
Environment.Exit(0);

0 commit comments

Comments
 (0)