diff --git a/release-template.md b/release-template.md index 72a10c8c9..46855acbd 100644 --- a/release-template.md +++ b/release-template.md @@ -3,13 +3,14 @@ 1. CLR 升级至 .NET 6 Preview 7 2. 新增 库存游戏可浏览已安装的游戏文件夹 3. 新增 创意工坊划词翻译脚本 -4. 新增 使用硬件加速设置项,也可通过命令行参数禁用硬件加速启动 -clt devtools -disable_gpu -5. 新增 家庭库共享排序,该功能可调整当前设备的多个家庭共享账号库存的优先级顺序。 +4. 新增 通用设置-使用硬件加速设置项,也可通过命令行参数禁用硬件加速启动 -clt devtools -disable_gpu +5. 新增 账号切换内新增家庭库共享排序功能,该功能可调整当前设备的多个家庭共享账号库存的优先级顺序。 6. 新增 QQ 快速登录渠道 7. 新增 意大利语支持 8. 新增 西班牙语支持 9. Android/macOS/Linux 版现已开启 Beta/Alpha 测试,可从 GitHub/Gitee 上下载 10. 现已通过 Desktop Bridge 转制为 UWP 上架 Microsoft Store +11. 新增 通用设置内可支持访问程序的AppData、Cache、Logs文件夹和查看缓存及日志占用空间大小情况 ### 修复问题 1. 修复 开机自启动在 2.4.x 中不生效 @@ -32,8 +33,9 @@ 18. 修复 程序在加载库存游戏时有概率闪退的问题 19. 修复 打开托盘菜单有概率导致程序闪退的问题 20. 修复 程序启动时界面不会加载任何内容无法正常使用的问题 -21. 改进 账号切换功能的UI调整 +21. 改进 账号切换功能UI 22. 改进 移除了CEF模块,缩减程序体积和运行时内存占用 +23. 改进 库存游戏支持显示已安装游戏占用空间大小 *** + diff --git a/src/ST.Client.Desktop/Models/SteamApp.cs b/src/ST.Client.Desktop/Models/SteamApp.cs index ff0b0fb61..fcda1d636 100644 --- a/src/ST.Client.Desktop/Models/SteamApp.cs +++ b/src/ST.Client.Desktop/Models/SteamApp.cs @@ -325,6 +325,7 @@ namespace System.Application.Models /* Counting from zero and starting from the right * Bit 1 indicates if a download is running + * Bit 3 indicates if a preloaded game download * Bit 2 indicates if a game is installed * Bit 9 indicates if the download has been stopped by the user. The download will not happen, so don't wait for it. * Bit 10 (or maybe Bit 5) indicates if a DLC is downloaded for a game diff --git a/src/ST.Client.Desktop/Services/ISteamService.cs b/src/ST.Client.Desktop/Services/ISteamService.cs index 8f956db43..f98ab4aae 100644 --- a/src/ST.Client.Desktop/Services/ISteamService.cs +++ b/src/ST.Client.Desktop/Services/ISteamService.cs @@ -137,8 +137,13 @@ namespace System.Application.Services } /// - /// 获取正在下载的SteamApp列表 + /// 获取已安装的SteamApp列表(包括正在下载的项) /// List GetDownloadingAppList(); + + /// + /// 监听Steam下载 + /// + void InitWatchSteamDownloading(Action changedAction, Action deleteAction); } } \ No newline at end of file diff --git a/src/ST.Client.Desktop/Services/Implementation/SteamServiceImpl.cs b/src/ST.Client.Desktop/Services/Implementation/SteamServiceImpl.cs index 180bb5270..275b3e9f1 100644 --- a/src/ST.Client.Desktop/Services/Implementation/SteamServiceImpl.cs +++ b/src/ST.Client.Desktop/Services/Implementation/SteamServiceImpl.cs @@ -929,7 +929,6 @@ namespace System.Application.Services.Implementation fsw.Changed += Fsw_Changed; fsw.Deleted += Fsw_Deleted; fsw.EnableRaisingEvents = true; - } void Fsw_Deleted(object sender, FileSystemEventArgs e) diff --git a/src/ST.Client.Desktop/UI/ViewModels/Pages/GameListPageViewModel.cs b/src/ST.Client.Desktop/UI/ViewModels/Pages/GameListPageViewModel.cs index 75a50a881..d8c89b07c 100644 --- a/src/ST.Client.Desktop/UI/ViewModels/Pages/GameListPageViewModel.cs +++ b/src/ST.Client.Desktop/UI/ViewModels/Pages/GameListPageViewModel.cs @@ -42,7 +42,6 @@ namespace System.Application.UI.ViewModels { return true; } - return false; }; } @@ -131,8 +130,8 @@ namespace System.Application.UI.ViewModels IconKey ="EyeHideDrawing", Command = HideAppCommand }, new MenuItemViewModel (nameof(AppResources.GameList_IdleGamesManger)){ IconKey ="TopSpeedDrawing", Command = IdleAppCommand }, - new MenuItemViewModel (nameof(AppResources.GameList_SteamShutdown)){ - IconKey ="ClockArrowDownloadDrawing", Command = SteamShutdownCommand }, + //new MenuItemViewModel (nameof(AppResources.GameList_SteamShutdown)){ + // IconKey ="ClockArrowDownloadDrawing", Command = SteamShutdownCommand }, }; AFKAutoUpdate?.CheckmarkChange(GameLibrarySettings.IsAutoAFKApps.Value); diff --git a/src/ST.Client.Desktop/UI/ViewModels/Windows/GameListPage/SteamShutdownWindowViewModel.cs b/src/ST.Client.Desktop/UI/ViewModels/Windows/GameListPage/SteamShutdownWindowViewModel.cs index b38c4156a..dc5a2442d 100644 --- a/src/ST.Client.Desktop/UI/ViewModels/Windows/GameListPage/SteamShutdownWindowViewModel.cs +++ b/src/ST.Client.Desktop/UI/ViewModels/Windows/GameListPage/SteamShutdownWindowViewModel.cs @@ -19,6 +19,7 @@ namespace System.Application.UI.ViewModels SteamConnectService.Current.DownloadApps .Connect() + .Filter(p => p.IsDownloading) .ObserveOn(RxApp.MainThreadScheduler) .Sort(SortExpressionComparer.Ascending(x => x.AppId).ThenByDescending(x => x.SizeOnDisk)) .Bind(out _DownloadingApps)