Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8fa4b6

Browse files
committed
fix RemovebinPath & WebView2.UserDataFolder
1 parent 8e28762 commit b8fa4b6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ST.Client.Desktop.Avalonia/Application/UI/App.WebView2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static void InitWebView2()
2929

3030
static string GetUserDataFolder()
3131
{
32-
var path = Path.Combine(IOPath.AppDataDirectory, "AppData", "WebView2", "UserData");
32+
var path = Path.Combine(IOPath.AppDataDirectory, "WebView2", "UserData");
3333
return IOPath.DirCreateByNotExists(path);
3434
}
3535
}

src/ST.Client/Migrations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void Up()
4040

4141
if (OperatingSystem2.IsWindows() &&
4242
!DesktopBridge.IsRunningAsUwp &&
43-
PreviousVersion < new Version(2, 6, 3))
43+
PreviousVersion < new Version(2, 7, 3)) // 上一次运行的版本小于 2.7.3 时将执行以下迁移
4444
{
4545

4646
try

0 commit comments

Comments
 (0)