Skip to content

Commit 1946a06

Browse files
committed
Release | 3.0.7
1 parent c9c14a6 commit 1946a06

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

ShadowPluginLoader.WinUI/Config/BaseSdkConfig.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff 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
///

ShadowPluginLoader.WinUI/ShadowPluginLoader.WinUI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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>

ShadowPluginLoader.WinUI/StaticValues.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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
}

0 commit comments

Comments
 (0)