返回提交历史
Modified
HaloPixelToolBox/HaloPixelToolBox/HaloPixelToolBox.csproj
+1
-1
Modified
HaloPixelToolBox/HaloPixelToolBox/ViewModels/CloudMusicLyricsToolPageViewModel.cs
+12
-1
XFEstudio/HaloPixelToolBox
添加启动信息显示 更新版本号至1.2.5
a495fe7
代码差异
2 个文件
+13
-2
@@ -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.2.4</Version>
12
<Version>1.2.5</Version>
13
13
<EnableMsixTooling>true</EnableMsixTooling>
14
14
<WindowsPackageType>None</WindowsPackageType>
15
15
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
@@ -41,7 +41,7 @@ public partial class CloudMusicLyricsToolPageViewModel : ServiceBaseViewModelBas
41
41
{
42
42
if (string.IsNullOrWhiteSpace(hexAddress))
43
43
return 0;
44
44
45
45
try
46
46
{
47
47
return new nint(Convert.ToInt64(hexAddress, 16));
@@ -146,6 +146,17 @@ public partial class CloudMusicLyricsToolPageViewModel : ServiceBaseViewModelBas
146
146
Task.Run(async () =>
147
147
{
148
148
Console.WriteLine("启动网易云歌词主线程");
149
Console.WriteLine("等待花再设备...");
150
while (!DeviceReady)
151
await Task.Delay(500);
152
if (DeviceReady)
153
{
154
Console.WriteLine("花再设备已就绪,显示启动信息");
155
Device.SetTextLayout(Core.Models.HaloPixelTextLayout.Center);
156
Device.ShowText("花再工具箱已启动~");
157
await Task.Delay(3000);
158
Console.WriteLine("OK");
159
}
149
160
while (true)
150
161
{
151
162
bool isClockUI = false;