Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit ea34f13

Browse files
committed
this torture must end
1 parent 1312dca commit ea34f13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ public static class Program
3939

4040
public static bool _IsLocalInstallation;
4141

42+
4243
[STAThread]
4344
public static void Main(string[] args)
4445
{
45-
_IsLocalInstallation = Paths.IsLocalInstallation();
4646
#if DEBUG
4747
System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level =
4848
System.Diagnostics.SourceLevels.Critical;
@@ -57,6 +57,7 @@ public static void Main(string[] args)
5757
try
5858
{
5959
#endif
60+
6061
var splashScreen = new SplashScreen("Resources/Icon256x.png");
6162
splashScreen.Show(false, true);
6263
Environment.CurrentDirectory =
@@ -66,6 +67,7 @@ public static void Main(string[] args)
6667
ProfileOptimization.SetProfileRoot(Environment.CurrentDirectory);
6768
ProfileOptimization.StartProfile("Startup.Profile");
6869
#endif
70+
_IsLocalInstallation = Paths.IsLocalInstallation();
6971
UpdateStatus = new UpdateInfo();
7072
OptionsObject = OptionsControlIOObject.Load(out var ProgramIsNew);
7173

0 commit comments

Comments
 (0)