This repository was archived by the owner on Sep 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments