Starward
Starward copied to clipboard
[Bug] 使用跨分区symlink时空间计算错误
Checklist
- [X] My issue was not mentioned by others, and it is not a duplicate issue.
Description
我在C盘里有一个硬链接,把游戏文件夹指向了E盘,安装游戏时E盘空间充足,但C盘空间不足,启动器显示空间不足
Reproduction Steps
正在使用 Win11 专业工作站版 x64 23H2 22631.3593 使用mklink /j <链接路径(我C盘那个)> <源路径(我E盘那个)> 然后在链接路径或子文件夹安装游戏,我空间错误计算成C盘
Expected Behavior
No response
Screenshots
Starward Version
0.11.7-pre4
Windows Version
22631.3593
Log
[01:46:55.227] [INFO]
Welcome to Starward v0.11.7-preview.4
System: Microsoft Windows NT 10.0.22631.0
Command Line: C:\SysBackupE\Starward\app-0.11.7-preview.4\Starward.dll
[01:46:55.258] [INFO] Starward.Services.DatabaseService
Database path is 'C:\SysBackupE\Starward'
[01:46:55.290] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 8.
[01:46:55.347] [INFO] Starward.Pages.MainPage
Last game region is nap_cn
[01:46:55.360] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param nap_cn
[01:46:56.142] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_cn: "C:\SysBackupE\Starward\Zenless Zone Zero"
[01:46:56.143] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "C:\SysBackupE\Starward\Zenless Zone Zero\config.ini"
[01:46:56.143] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_cn is null.
[01:46:57.097] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)
[01:46:57.818] [INFO] Starward.Services.UpdateService
Current version: "0.11.7-preview.4", latest version: "0.11.7-preview.4", ignore version: null
[01:46:59.302] [INFO] Starward.Pages.MainPage
Change game region to nap_cn
[01:46:59.303] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param nap_cn
[01:46:59.410] [INFO] Starward.Pages.GameLauncherPage
Game install path of nap_cn: "C:\SysBackupE\Starward\Zenless Zone Zero"
[01:46:59.411] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "C:\SysBackupE\Starward\Zenless Zone Zero\config.ini"
[01:46:59.411] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of nap_cn is null.
[01:47:06.449] [WARN] Starward.Services.Launcher.GameLauncherService
config.ini not found: "C:\SysBackupE\Starward\Zenless Zone Zero\config.ini"
Additional Context
No response
首先纠正一下,硬链接(Hard Link)是不能跨分区的,你用的是符号链接(Symbolic Link)。
这个问题和 计算更新时的解压占用空间 类似,准确的判断比较麻烦,所以这里只显示空间可能不足的警告,不阻止安装,你知晓实际情况即可。
This issue will be closed due to no reply for more than 14 days.