XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

HaloPixelToolBox

【WinUI3】基于USB HID通讯的花再音响工具箱

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/HaloPixelToolBox

修复歌词一段时间后不显示的问题 添加地址实时解析功能

8ef27f9
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

4 个文件 +11 -11
Modified HaloPixelToolBox/HaloPixelToolBox.Core/Utilities/CloudLyricsReader.cs +2 -1
@@ -40,7 +40,8 @@ public class CloudMusicLyricsReader
40 40 try
41 41 {
42 42 var address = Editor.ResolvePointerAddress("cloudmusic.dll", 0x01CEBD70, 0xE0, 0x8, 0x120, 0x8, 0x0);
43 Console.WriteLine($"[DEBUG]读取到的地址:{address}");
43 if (address != Address)
44 Console.WriteLine($"[DEBUG]读取到新的地址:{address}({address:X})");
44 45 if (address != 0)
45 46 {
46 47 Address = address;
Modified HaloPixelToolBox/HaloPixelToolBox.Test/Program.cs +0 -9
@@ -12,14 +12,5 @@ internal class Program
12 12 {
13 13 var device = new HaloPixelDevice();
14 14 device.Initialize();
15 device.SetUIModel(HaloPixelUIModel.Clock);
16 device.SetUIModel(HaloPixelUIModel.Game);
17 device.SetUIModel(HaloPixelUIModel.Work);
18 device.SetUIModel(HaloPixelUIModel.Read);
19 device.SetUIModel(HaloPixelUIModel.Cats);
20 device.SetUIModel(HaloPixelUIModel.Dogs);
21 device.SetUIModel(HaloPixelUIModel.Memes);
22 device.SetUIModel(HaloPixelUIModel.Cyber);
23 device.SetUIModel(HaloPixelUIModel.Waves);
24 15 }
25 16 }
Modified HaloPixelToolBox/HaloPixelToolBox/HaloPixelToolBox.csproj +1 -1
@@ -9,7 +9,7 @@
9 9 <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
10 10 <PublishProfile>win-$(Platform).pubxml</PublishProfile>
11 11 <UseWinUI>true</UseWinUI>
12 <Version>1.1.0</Version>
12 <Version>1.1.1</Version>
13 13 <EnableMsixTooling>true</EnableMsixTooling>
14 14 <WindowsPackageType>None</WindowsPackageType>
15 15 <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
Modified HaloPixelToolBox/HaloPixelToolBox/ViewModels/CloudMusicLyricsToolPageViewModel.cs +8 -0
@@ -65,6 +65,14 @@ public partial class CloudMusicLyricsToolPageViewModel : ServiceBaseViewModelBas
65 65 Console.WriteLine("云音乐已准备就绪");
66 66 }),
67 67 Task.Run(async () =>
68 {
69 while (true)
70 {
71 Reader.ReresolveAddress();
72 await Task.Delay(500);
73 }
74 }),
75 Task.Run(async () =>
68 76 {
69 77 while (true)
70 78 {