Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Starward_Portable_0.11.7-preview.6错误问题 #912

Closed
1 task done
huxia86465 opened this issue Jul 6, 2024 · 4 comments
Closed
1 task done

[Bug] Starward_Portable_0.11.7-preview.6错误问题 #912

huxia86465 opened this issue Jul 6, 2024 · 4 comments

Comments

@huxia86465
Copy link

Checklist

  • My issue was not mentioned by others, and it is not a duplicate issue.

Description

问题:

  1. 更新到Starward_Portable_0.11.7-preview.6_x64版本后打开提示“制止风险操作,开放了目录访问权限也会出现这个问题”
  2. 在删除重新覆盖到“Starward”目录换成app-0.11.7-preview.5版本就可以正常打开,补充(在使用Starward_Portable_0.11.6_x64这个版本的时候也是可以正常打开)

请问:安装回了旧版本打开后抽卡记录没有了,还能恢复吗

Reproduction Steps

Expected Behavior

Screenshots

文件目录:
image
权限设置:
image(补充app-0.11.7-preview这个目录是在Starward_Portable_0.11.7-preview.6_x64打不开才添加的放行权限-来自Windows安全中心)

Starward Version

Starward_Portable_0.11.7-preview.6_x64

Windows Version

H22H2-19045.4598

Log

[10:17:04.262] [INFO] 
Welcome to Starward v0.11.7-preview.5
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.7-preview.5\Starward.dll"

[10:17:04.633] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward'

[10:17:04.959] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 9.

[10:17:05.158] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[10:17:05.232] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[10:17:06.226] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "C:\Program Files\Star Rail\Game"

[10:17:06.252] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.3.0".

[10:17:07.151] [INFO] Starward.Services.UpdateService
Start to check update (Preview: True, Arch: X64)

[10:17:08.271] [INFO] Starward.Services.UpdateService
Current version: "0.11.7-preview.5", latest version: "0.11.7-preview.5", ignore version: null

[10:17:15.663] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "C:\Program Files\Star Rail\Game\StarRail.exe"
arg: null

[10:17:17.560] [INFO] Starward.Pages.GameLauncherPage
Game started ("StarRail", 7528)

[10:17:19.571] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 7528)

[11:01:29.628] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[11:01:29.631] [INFO] Starward.Pages.GameLauncherPage
Game is running ("StarRail", 7528)

[11:01:30.632] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[11:01:30.635] [INFO] Starward.Pages.GameLauncherPage
Game is running ("StarRail", 7528)

[11:01:31.649] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[11:01:57.102] [INFO] Starward.Pages.MainPage
Change game region to nap_cn

[11:01:57.103] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param nap_cn

[11:01:57.203] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_cn: "C:\Program Files\miHoYo Launcher\games\ZenlessZoneZero Game"

[11:01:57.234] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_cn is "1.0.0".

[11:02:00.874] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (nap_cn)
path: "C:\Program Files\miHoYo Launcher\games\ZenlessZoneZero Game\ZenlessZoneZero.exe"
arg: null

[11:02:02.127] [INFO] Starward.Pages.GameLauncherPage
Game started ("ZenlessZoneZero", 7720)

[11:02:04.134] [INFO] Starward.Services.PlayTimeService
Start to log playtime (nap_cn, 7720)

[11:19:13.141] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[11:19:13.143] [INFO] Starward.Pages.GameLauncherPage
Game is running ("ZenlessZoneZero", 7720)

[11:19:14.146] [INFO] Starward.Pages.GameLauncherPage
Game process exited
[10:17:19.973] [INFO] 
Welcome to Starward v0.11.7-preview.5
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.7-preview.5\Starward.dll" playtime --biz hkrpg_cn --pid 7528

[10:17:20.021] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward'

[10:17:20.074] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 9.

1:02:04.485] [INFO] 
Welcome to Starward v0.11.7-preview.5
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.7-preview.5\Starward.dll" playtime --biz nap_cn --pid 7720

[11:02:04.526] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward'

[11:02:04.566] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 9.

[15:11:59.306] [INFO] 
Welcome to Starward v0.11.6
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.6\Starward.dll"

[15:12:30.593] [INFO] Starward.Pages.Welcome.SelectDirectoryPage
Select directory is '"D:\Starward"'

[15:12:44.929] [INFO] Starward.Pages.Welcome.SelectDirectoryPage
Select directory is '"D:\Starward"'

[15:12:55.182] [INFO] Starward.Pages.Welcome.SelectGamePage
Change game region to hk4e_cn

[15:12:56.437] [INFO] Starward.Services.DatabaseService
Database path is 'D:\Starward'

[15:12:56.522] [INFO] Starward.Services.DatabaseService
Database version is 0, target version is 8.

[15:13:00.551] [INFO] Starward.Pages.MainPage
Last game region is hk4e_cn

[15:13:00.557] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[15:13:01.174] [INFO] Starward.Pages.LauncherPage
Game install path of hk4e_cn: null

[15:13:01.176] [INFO] Starward.Pages.LauncherPage
Acutal version and gamebiz of hk4e_cn is null, None.

[15:13:01.427] [WARN] Starward.Services.LauncherContentService
Background of mihoyo api is null (hk4e_cn)

[15:13:02.136] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[15:13:02.938] [INFO] Starward.Services.UpdateService
Current version: "0.11.6", latest version: "0.11.7-preview.4", ignore version: null

[15:13:30.023] [EROR] Starward.Services.UpdateService
Update failed
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Starward\app-0.11.7-preview.4' is denied.
   at System.IO.FileSystem.CreateDirectory(String, Byte[] )
   at System.IO.Directory.CreateDirectory(String)
   at Starward.Services.UpdateService.MovingFiles() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 406
   at Starward.Services.UpdateService.UpdateAsync() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 283

[15:13:32.227] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.346] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.463] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.563] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.663] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.776] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.878] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:32.980] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:33.081] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:33.128] [EROR] Starward.Services.UpdateService
Update failed
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Starward\app-0.11.7-preview.4' is denied.
   at System.IO.FileSystem.CreateDirectory(String, Byte[] )
   at System.IO.Directory.CreateDirectory(String)
   at Starward.Services.UpdateService.MovingFiles() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 406
   at Starward.Services.UpdateService.UpdateAsync() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 283

[15:13:34.935] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.055] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.176] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.296] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.406] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.526] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.645] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.766] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:35.846] [EROR] Starward.Services.UpdateService
Update failed
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Starward\app-0.11.7-preview.4' is denied.
   at System.IO.FileSystem.CreateDirectory(String, Byte[] )
   at System.IO.Directory.CreateDirectory(String)
   at Starward.Services.UpdateService.MovingFiles() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 406
   at Starward.Services.UpdateService.UpdateAsync() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 283

[15:13:37.836] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:37.946] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.061] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.185] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.295] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.411] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.536] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.656] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:38.736] [EROR] Starward.Services.UpdateService
Update failed
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Starward\app-0.11.7-preview.4' is denied.
   at System.IO.FileSystem.CreateDirectory(String, Byte[] )
   at System.IO.Directory.CreateDirectory(String)
   at Starward.Services.UpdateService.MovingFiles() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 406
   at Starward.Services.UpdateService.UpdateAsync() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 283

[15:13:40.455] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:40.556] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:40.675] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:40.777] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:40.896] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:41.015] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:41.121] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:41.222] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:41.327] [EROR] Starward.Pages.UpdatePage
Update progress
System.ArgumentException: 参数错误。

The value cannot be infinite or Not a Number (NaN).
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32)
   at ABI.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseMethods.set_Value(IObjectReference, Double)
   at Starward.Pages.UpdatePage.UpdateProgressValue() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 402
   at Starward.Pages.UpdatePage.UpdateProgressState() in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 360
   at Starward.Pages.UpdatePage._timer_Tick(DispatcherQueueTimer sender, Object args) in D:\a\Starward\Starward\src\Starward\Pages\UpdatePage.xaml.cs:line 413

[15:13:41.351] [EROR] Starward.Services.UpdateService
Update failed
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Starward\app-0.11.7-preview.4' is denied.
   at System.IO.FileSystem.CreateDirectory(String, Byte[] )
   at System.IO.Directory.CreateDirectory(String)
   at Starward.Services.UpdateService.MovingFiles() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 406
   at Starward.Services.UpdateService.UpdateAsync() in D:\a\Starward\Starward\src\Starward\Services\UpdateService.cs:line 283

[15:26:56.741] [INFO] 
Welcome to Starward v0.11.7-preview.5
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.7-preview.5\Starward.dll"

[15:26:56.783] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward'

[15:26:56.852] [EROR] Starward.Services.DatabaseService
Initialize database
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277
   at Dapper.SqlMapper.QueryFirstOrDefault[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 857
   at Starward.Services.DatabaseService.InitializeDatabase() in D:\a\Starward\Starward\src\Starward\Services\DatabaseService.cs:line 81
   at Starward.Services.DatabaseService.SetDatabase(String folder) in D:\a\Starward\Starward\src\Starward\Services\DatabaseService.cs:line 65

[15:26:56.935] [INFO] Starward.Pages.MainPage
Last game region is None

[15:26:57.564] [EROR] Starward.Pages.MainPage
Update background image
System.ArgumentOutOfRangeException: Unknown launcher id. (Parameter 'launcherId')
   at Starward.Core.HoYoPlay.HoYoPlayClient.BuildUrl(String api, String launcherId, String language) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 78
   at Starward.Core.HoYoPlay.HoYoPlayClient.GetGameBackgroundAsync(String launcherId, String language, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 109
   at Starward.Services.HoYoPlayService.GetGameBackgroundAsync(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\HoYoPlayService.cs:line 274
   at Starward.Services.Launcher.LauncherBackgroundService.GetBackgroundImageUrlAsync(GameBiz gameBiz, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Launcher\LauncherBackgroundService.cs:line 102
   at Starward.Services.Launcher.LauncherBackgroundService.GetBackgroundImageAsync(GameBiz gameBiz, Boolean disableCustom) in D:\a\Starward\Starward\src\Starward\Services\Launcher\LauncherBackgroundService.cs:line 125
   at Starward.Pages.MainPage.UpdateBackgroundImageAsync(Boolean force) in D:\a\Starward\Starward\src\Starward\Pages\MainPage.xaml.cs:line 340

[15:26:58.576] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[15:26:59.819] [INFO] Starward.Services.UpdateService
Current version: "0.11.7-preview.5", latest version: "0.11.7-preview.4", ignore version: null

[15:27:16.421] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[15:27:16.422] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[15:27:16.585] [EROR] Starward.Controls.PlaytimeButton
Initialize play time
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277
   at Dapper.SqlMapper.QueryFirstOrDefault[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 857
   at Starward.Services.PlayTimeService.GetLastPlayTime(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\PlayTimeService.cs:line 145
   at Starward.Controls.PlaytimeButton.InitializePlayTime() in D:\a\Starward\Starward\src\Starward\Controls\PlaytimeButton.xaml.cs:line 83

[15:27:16.597] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "C:\Program Files\Star Rail\Game"

[15:27:16.615] [EROR] Starward.Pages.GameLauncherPage
Cannot get game account (hkrpg_cn)
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184
   at System.Collections.Generic.List`1..ctor(IEnumerable`1)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815
   at Starward.Services.GameAccountService.GetGameAccountsFromDatabase(GameBiz biz)+MoveNext() in D:\a\Starward\Starward\src\Starward\Services\GameAccountService.cs:line 104
   at System.Collections.Generic.List`1..ctor(IEnumerable`1)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1)
   at Starward.Services.GameAccountService.GetGameAccounts(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\GameAccountService.cs:line 116
   at Starward.Pages.GameLauncherPage.GetGameAccount() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 490

[15:27:16.618] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.3.0".

[15:27:17.848] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hkrpg_cn

[15:27:17.926] [WARN] Starward.Pages.ScreenshotPage
Cannot find screenshot folder

[15:27:18.624] [INFO] Starward.Pages.MainPage
Navigate to "GameSettingPage" with param hkrpg_cn

[15:27:18.700] [INFO] Starward.Services.GameSettingService
Voice language of game hkrpg_cn is null

[15:27:33.038] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hkrpg_cn

[15:27:33.084] [WARN] Starward.Pages.ScreenshotPage
Cannot find screenshot folder

[15:27:33.902] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hkrpg_cn

[15:27:33.967] [EROR] Starward.Pages.GachaLogPage
Initialize
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184
   at System.Collections.Generic.List`1..ctor(IEnumerable`1)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815
   at Starward.Services.Gacha.GachaLogService.GetUids() in D:\a\Starward\Starward\src\Starward\Services\Gacha\GachaLogService.cs:line 64
   at Starward.Pages.GachaLogPage.Initialize() in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 215

[15:27:34.387] [EROR] Starward.Pages.GachaLogPage
Update wiki data hkrpg_cn
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
   at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection, String, SqliteParameter[] )
   at Microsoft.Data.Sqlite.SqliteTransaction..ctor(SqliteConnection, IsolationLevel, Boolean)
   at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel, Boolean)
   at Starward.Services.Gacha.StarRailGachaService.UpdateGachaInfoAsync(GameBiz gameBiz, String lang, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Gacha\StarRailGachaService.cs:line 159
   at Starward.Pages.GachaLogPage.UpdateWikiDataAsync() in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 281

[15:27:35.094] [INFO] Starward.Pages.MainPage
Navigate to "HoyolabToolboxPage" with param hkrpg_cn

[15:27:35.103] [INFO] Starward.Services.GameRecordService
Change region to China.

[15:27:36.766] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[15:27:36.785] [EROR] Starward.Pages.HoyolabToolbox.HoyolabToolboxPage
Load game roles (hkrpg_cn).
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277
   at Dapper.SqlMapper.QueryFirstOrDefault[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 857
   at Starward.Services.GameRecordService.GetLastSelectGameRecordRole(GameBiz gameBiz) in D:\a\Starward\Starward\src\Starward\Services\GameRecordService.cs:line 159
   at Starward.Pages.HoyolabToolbox.HoyolabToolboxPage.LoadGameRoles(GameRecordRole role) in D:\a\Starward\Starward\src\Starward\Pages\HoyolabToolbox\HoyolabToolboxPage.xaml.cs:line 266

[15:27:36.846] [EROR] Starward.Controls.PlaytimeButton
Initialize play time
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277
   at Dapper.SqlMapper.QueryFirstOrDefault[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 857
   at Starward.Services.PlayTimeService.GetLastPlayTime(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\PlayTimeService.cs:line 145
   at Starward.Controls.PlaytimeButton.InitializePlayTime() in D:\a\Starward\Starward\src\Starward\Controls\PlaytimeButton.xaml.cs:line 83

[15:27:36.865] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "C:\Program Files\Star Rail\Game"

[15:27:36.871] [EROR] Starward.Pages.GameLauncherPage
Cannot get game account (hkrpg_cn)
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184
   at System.Collections.Generic.List`1..ctor(IEnumerable`1)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815
   at Starward.Services.GameAccountService.GetGameAccountsFromDatabase(GameBiz biz)+MoveNext() in D:\a\Starward\Starward\src\Starward\Services\GameAccountService.cs:line 104
   at System.Collections.Generic.List`1..ctor(IEnumerable`1)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1)
   at Starward.Services.GameAccountService.GetGameAccounts(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\GameAccountService.cs:line 116
   at Starward.Pages.GameLauncherPage.GetGameAccount() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 490

[15:27:36.912] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.3.0".

[15:27:55.704] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[15:27:55.970] [INFO] Starward.Services.UpdateService
Current version: "0.11.7-preview.5", latest version: "0.11.7-preview.4", ignore version: null

[15:28:03.470] [INFO] Starward.Pages.Setting.FileSettingPage
Open folder '"C:\Program Files\Starward"'

[15:28:21.806] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[15:28:22.056] [INFO] Starward.Services.UpdateService
Current version: "0.11.7-preview.5", latest version: "0.11.7-preview.4", ignore version: null



[15:30:22.201] [INFO] 
Welcome to Starward v0.11.7-preview.5
System: Microsoft Windows NT 10.0.19045.0
Command Line: "C:\Program Files\Starward\app-0.11.7-preview.5\Starward.dll"

[15:30:22.242] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward'

[15:30:22.269] [EROR] Starward.Services.DatabaseService
Initialize database
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32, sqlite3)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156
   at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277
   at Dapper.SqlMapper.QueryFirstOrDefault[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 857
   at Starward.Services.DatabaseService.InitializeDatabase() in D:\a\Starward\Starward\src\Starward\Services\DatabaseService.cs:line 81
   at Starward.Services.DatabaseService.SetDatabase(String folder) in D:\a\Starward\Starward\src\Starward\Services\DatabaseService.cs:line 65

[15:30:22.357] [INFO] Starward.Pages.MainPage
Last game region is None

[15:30:22.908] [EROR] Starward.Pages.MainPage
Update background image
System.ArgumentOutOfRangeException: Unknown launcher id. (Parameter 'launcherId')
   at Starward.Core.HoYoPlay.HoYoPlayClient.BuildUrl(String api, String launcherId, String language) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 78
   at Starward.Core.HoYoPlay.HoYoPlayClient.GetGameBackgroundAsync(String launcherId, String language, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward.Core\HoYoPlay\HoYoPlayClient.cs:line 109
   at Starward.Services.HoYoPlayService.GetGameBackgroundAsync(GameBiz biz) in D:\a\Starward\Starward\src\Starward\Services\HoYoPlayService.cs:line 274
   at Starward.Services.Launcher.LauncherBackgroundService.GetBackgroundImageUrlAsync(GameBiz gameBiz, CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\Launcher\LauncherBackgroundService.cs:line 102
   at Starward.Services.Launcher.LauncherBackgroundService.GetBackgroundImageAsync(GameBiz gameBiz, Boolean disableCustom) in D:\a\Starward\Starward\src\Starward\Services\Launcher\LauncherBackgroundService.cs:line 125
   at Starward.Pages.MainPage.UpdateBackgroundImageAsync(Boolean force) in D:\a\Starward\Starward\src\Starward\Pages\MainPage.xaml.cs:line 340

[15:30:24.039] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[15:30:24.998] [INFO] Starward.Services.UpdateService
Current version: "0.11.7-preview.5", latest version: "0.11.7-preview.4", ignore version: null

[15:32:31.016] [INFO] Starward.Pages.Setting.FileSettingPage
Open folder '"C:\Program Files\Starward"'

[15:32:40.208] [EROR] Starward.Pages.Setting.FileSettingPage
Change data folder
System.NullReferenceException: Object reference not set to an instance of an object.
   at Starward.AppConfig.ResetServiceProvider() in D:\a\Starward\Starward\src\Starward\AppConfig.cs:line 210
   at Starward.Pages.Setting.FileSettingPage.ChangeDataFolderAsync() in D:\a\Starward\Starward\src\Starward\Pages\Setting\FileSettingPage.xaml.cs:line 94

Additional Context

No response

@huxia86465 huxia86465 added the triage Issue needs to be triaged label Jul 6, 2024
@huxia86465
Copy link
Author

补充
版本app-0.11.7-preview.5
问题:打开抽卡记录同步出现图片上的问题
image

@link-fgfgui
Copy link

1.app-0.11.7-preview.4文件夹访问失败
2.数据库各种访问失败

推论:可能是权限问题

@huxia86465
Copy link
Author

1.app-0.11.7-preview.4文件夹访问失败

2.数据库各种访问失败

推论:可能是权限问题

是的,用以管理员打开就可以正常了

@Scighost
Copy link
Owner

系统盘的 Program Files 文件夹内需要管理员权限才能写入,如果你把数据文件夹放在这里,每次都需要用管理员权限运行才能正常使用。

@Scighost Scighost added Area: Others and removed triage Issue needs to be triaged labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants