File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
source/BulkCrapUninstaller Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,8 @@ public MainWindow()
152152 . AppendIf ( Program . EnableDebug , " " , Localisable . StrDebug ) ;
153153 Text = MainTitleBarText ;
154154
155+ Console . WriteLine ( MainTitleBarText ) ;
156+
155157 _styleController = new WindowStyleController ( this ) ;
156158
157159 // Initialize the status bar
Original file line number Diff line number Diff line change @@ -135,7 +135,10 @@ internal static void PrepareSettings()
135135 }
136136 catch ( Exception ex )
137137 {
138- Console . WriteLine ( "Failed to load settings from the config file: " + ex ) ;
138+ if ( ex is FileNotFoundException )
139+ Console . WriteLine ( "Settings file not found, creating new one." ) ;
140+ else
141+ Console . WriteLine ( "Failed to load settings from the config file: " + ex ) ;
139142
140143 File . Delete ( ConfigFileFullname ) ;
141144 Settings . Default . Reload ( ) ;
You can’t perform that action at this time.
0 commit comments