This commit is contained in:
rmbgame
2021-08-12 05:08:57 +08:00
parent bf37e576db
commit d37e315ccc
8 changed files with 52 additions and 30 deletions
+5 -3
View File
@@ -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. 改进 库存游戏支持显示已安装游戏占用空间大小
***
<!-- 1. 新增 ASF Plus 本地挂卡
@@ -11,27 +11,34 @@ namespace System.Application.Converters
{
if (double.TryParse(value.ToString(), out double b))
{
if (b > SizeUnit)
if (b > 0)
{
var kb = b / SizeUnit;
if (kb > SizeUnit)
if (b > SizeUnit)
{
var mb = kb / SizeUnit;
if (mb > SizeUnit)
var kb = b / SizeUnit;
if (kb > SizeUnit)
{
var gb = mb / SizeUnit;
if (gb > SizeUnit)
var mb = kb / SizeUnit;
if (mb > SizeUnit)
{
var tb = gb / SizeUnit;
return tb.ToString("###,###.##") + " TB";
var gb = mb / SizeUnit;
if (gb > SizeUnit)
{
var tb = gb / SizeUnit;
return tb.ToString("###,###.##") + " TB";
}
return gb.ToString("###,###.##") + " GB";
}
return gb.ToString("###,###.##") + " GB";
return mb.ToString("###,###.##") + " MB";
}
return mb.ToString("###,###.##") + " MB";
return kb.ToString("###,###.##") + " KB";
}
return kb.ToString("###,###.##") + " KB";
return b.ToString("###,###.##") + " B";
}
else
{
return "0 B";
}
return b.ToString("###,###.##") + " B";
}
return value;
}
@@ -24,13 +24,20 @@
Background="{DynamicResource ThemeBrushKey}"
Padding="10"
Margin="20 40 20 0">
<StackPanel Orientation="Horizontal" Spacing="8" HorizontalAlignment="Left">
<Button
Background="Transparent"
Cursor="Hand">
<PathIcon Width="16" Height="16" Data="{DynamicResource PauseCircleDrawing}"/>
</Button>
</StackPanel>
<DockPanel>
<StackPanel Orientation="Horizontal" Spacing="8" HorizontalAlignment="Left">
<TextBlock Text="启用下载监控" VerticalAlignment="Center"></TextBlock>
<ToggleSwitch OnContent="" OffContent="" VerticalAlignment="Center"></ToggleSwitch>
<TextBlock Text="选中游戏下载完成后执行" VerticalAlignment="Center"></TextBlock>
<ComboBox PlaceholderText="睡眠" VerticalAlignment="Center"></ComboBox>
</StackPanel>
<CheckBox HorizontalAlignment="Right"
Content="全部选中"
VerticalAlignment="Center"></CheckBox>
</DockPanel>
</Border>
<Panel DockPanel.Dock="Bottom">
<ScrollViewer Padding="0 10">
@@ -59,10 +66,11 @@
<WrapPanel Grid.Column="2"
VerticalAlignment="Center">
<TextBlock Text="{Binding LastUpdated,StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}"
<!--<TextBlock Text="{Binding LastUpdated,StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}"
FontSize="16"
VerticalAlignment="Center"
Foreground="{DynamicResource InactiveForegroundBrushKey}"/>
Foreground="{DynamicResource InactiveForegroundBrushKey}"/>-->
<CheckBox></CheckBox>
</WrapPanel>
</Grid>
</Border>
+1
View File
@@ -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
@@ -137,8 +137,13 @@ namespace System.Application.Services
}
/// <summary>
/// 获取正在下载的SteamApp列表
/// 获取已安装的SteamApp列表(包括正在下载的项)
/// </summary>
List<SteamApp> GetDownloadingAppList();
/// <summary>
/// 监听Steam下载
/// </summary>
void InitWatchSteamDownloading(Action<uint> changedAction, Action<uint> deleteAction);
}
}
@@ -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)
@@ -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);
@@ -19,6 +19,7 @@ namespace System.Application.UI.ViewModels
SteamConnectService.Current.DownloadApps
.Connect()
.Filter(p => p.IsDownloading)
.ObserveOn(RxApp.MainThreadScheduler)
.Sort(SortExpressionComparer<SteamApp>.Ascending(x => x.AppId).ThenByDescending(x => x.SizeOnDisk))
.Bind(out _DownloadingApps)