File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,11 +267,11 @@ public void Init(PluginInitContext context)
267267 Context . API . ThemeChanged += OnThemeChanged ;
268268
269269 var customPath = Environment . GetEnvironmentVariable ( CUSTOM_PATH_ENV_VAR ) ;
270- var appDataPath = string . IsNullOrEmpty ( customPath )
271- ? Environment . GetFolderPath ( Environment . SpecialFolder . LocalApplicationData )
270+ var appDataPath = Environment . GetFolderPath ( Environment . SpecialFolder . LocalApplicationData ) ;
271+ var powerToysPath = string . IsNullOrEmpty ( customPath )
272+ ? Path . Combine ( appDataPath , "Microsoft" , "PowerToys" , "QuickNotes" )
272273 : customPath ;
273-
274- var powerToysPath = Path . Combine ( appDataPath , "Microsoft" , "PowerToys" , "QuickNotes" ) ;
274+
275275 if ( ! Directory . Exists ( powerToysPath ) )
276276 Directory . CreateDirectory ( powerToysPath ) ;
277277
You can’t perform that action at this time.
0 commit comments