File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,6 @@ public partial class BaseSdkConfig
1212 /// </summary>
1313 [ ObservableConfigProperty ] private PluginUpgradeMethod _upgradeMethod = PluginUpgradeMethod . Coverage ;
1414
15- /// <summary>
16- ///
17- /// </summary>
18- private readonly string _basePath = ApplicationData . Current . LocalFolder . Path ;
19-
2015 /// <summary>
2116 ///
2217 /// </summary>
@@ -30,12 +25,12 @@ public partial class BaseSdkConfig
3025 /// <summary>
3126 ///
3227 /// </summary>
33- public string PluginFolderPath => System . IO . Path . Combine ( _basePath , _pluginFolder ) ;
28+ public string PluginFolderPath => System . IO . Path . Combine ( StaticValues . BaseFolder , _pluginFolder ) ;
3429
3530 /// <summary>
3631 ///
3732 /// </summary>
38- public string TempFolderPath => System . IO . Path . Combine ( _basePath , _tempFolder ) ;
33+ public string TempFolderPath => System . IO . Path . Combine ( StaticValues . BaseFolder , _tempFolder ) ;
3934
4035 /// <summary>
4136 ///
Original file line number Diff line number Diff line change 1313 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
1414 <LangVersion >12</LangVersion >
1515 <!-- Nuget -->
16- <Version >3.0.6 </Version >
16+ <Version >3.0.7 </Version >
1717 <PackageId >ShadowPluginLoader.WinUI</PackageId >
1818 <Owner >kitUIN</Owner >
1919 <Authors >kitUIN</Authors >
Original file line number Diff line number Diff line change 1- namespace ShadowPluginLoader . WinUI ;
1+ using Windows . Storage ;
2+
3+ namespace ShadowPluginLoader . WinUI ;
24
35/// <summary>
46///
@@ -15,4 +17,9 @@ public static class StaticValues
1517 ///
1618 /// </summary>
1719 public static bool UpgradeChecked { get ; set ; }
20+
21+ /// <summary>
22+ ///
23+ /// </summary>
24+ public static string BaseFolder { get ; } = ApplicationData . Current . LocalFolder . Path ;
1825}
You can’t perform that action at this time.
0 commit comments