File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using Windows . Storage ;
1+ using System . IO ;
2+ using Windows . Storage ;
23using ShadowObservableConfig . Attributes ;
34using ShadowPluginLoader . WinUI . Enums ;
45
@@ -32,6 +33,18 @@ public partial class BaseSdkConfig
3233 /// </summary>
3334 public string TempFolderPath => System . IO . Path . Combine ( StaticValues . BaseFolder , _tempFolder ) ;
3435
36+ partial void AfterConfigInit ( )
37+ {
38+ if ( ! Directory . Exists ( PluginFolderPath ) )
39+ {
40+ Directory . CreateDirectory ( PluginFolderPath ) ;
41+ }
42+ if ( ! Directory . Exists ( TempFolderPath ) )
43+ {
44+ Directory . CreateDirectory ( TempFolderPath ) ;
45+ }
46+ }
47+
3548 /// <summary>
3649 ///
3750 /// </summary>
Original file line number Diff line number Diff line change 1313 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
1414 <LangVersion >preview</LangVersion >
1515 <!-- Nuget -->
16- <Version >3.1.0 </Version >
16+ <Version >3.1.1 </Version >
1717 <PackageId >ShadowPluginLoader.WinUI</PackageId >
1818 <Owner >kitUIN</Owner >
1919 <Authors >kitUIN</Authors >
You can’t perform that action at this time.
0 commit comments