Skip to content

Commit

Permalink
Update ASF v5.2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AigioL committed Aug 14, 2022
1 parent 51e19ba commit d0bfbdb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion references/ArchiSteamFarm
21 changes: 12 additions & 9 deletions release-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@
8. 为了能继续维持开发,从此版本开始将会添加程序内广告,赞助用户可以在设置中关闭所有广告

### 版本亮点
1. 修复与改进一些已知问题
1. .NET 运行时升级至 6.0.8,使用 fde 版本需要升级运行时
2. ASF 升级至 V5.2.8.4

### 修复问题
1. 修复 Windows 上版本更新在 2.8.x 中非 FDE 版本识别为 FDE 版
2. 改进 调整代理模式顺序,Hosts 模式置顶
3. 修复 划词翻译等一些 JS 脚本
4. 改进 macOS 上的证书安装
5. 修复 可能导致内存泄露的问题
6. 改进 非简中默认隐藏加速与脚本仅在 Windows 上生效
7. 改进 减少 Android 上的启动时间
8. 修复 退出程序时可能引发的闪退
1. 修复 2.8.0 ~ 2.8.2 中 AppData/Config.mpo 文件大小为 0 时导致的程序无法正常启动
2. 修复 Windows 上版本更新在 2.8.0 ~ 2.8.2 中非 FDE 版本识别为 FDE 版
3. 改进 调整代理模式顺序,Hosts 模式置顶
4. 修复 划词翻译等一些 JS 脚本
5. 改进 macOS 上的证书安装
6. 尝试修复 网络加速中能导致内存泄露的问题
7. 改进 非简中默认隐藏加速与脚本仅在 Windows 上生效
8. 改进 减少 Android 上的启动时间
9. 修复 退出程序时可能引发的闪退
10. 修复 macOS/Linux 上设置页面打不开的问题

<!--
Expand Down
7 changes: 4 additions & 3 deletions src/Common.CoreLib/Application/Settings/SettingsHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,18 @@ public static void Save()

public static void Load()
{
var bakLocalFilePath = $"{SettingsHostBase.LocalFilePath}.bak";
try
{
SettingsHostBase.Local.Load();

File.Copy(SettingsHostBase.LocalFilePath, SettingsHostBase.LocalFilePath + ".bak", true);
File.Copy(SettingsHostBase.LocalFilePath, bakLocalFilePath, true);
}
catch (Exception ex)
{
if (File.Exists(SettingsHostBase.LocalFilePath + ".bak"))
if (File.Exists(bakLocalFilePath))
{
File.Copy(SettingsHostBase.LocalFilePath + ".bak", SettingsHostBase.LocalFilePath, true);
File.Copy(bakLocalFilePath, SettingsHostBase.LocalFilePath, true);
}
else
{
Expand Down

0 comments on commit d0bfbdb

Please sign in to comment.