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

无法识别手动安装路径 #4

Closed
vvb2060 opened this issue May 1, 2023 · 1 comment
Closed

无法识别手动安装路径 #4

vvb2060 opened this issue May 1, 2023 · 1 comment

Comments

@vvb2060
Copy link

vvb2060 commented May 1, 2023

Loading player data from C:/Software/StarRail/Games/StarRail_Data/data.unity3d

const gamePathMch = logText.match(/\w:\/.*?(Star\sRail\/Games?\/StarRail_Data)/)

@vvb2060
Copy link
Author

vvb2060 commented May 1, 2023

image
安装位置可以完全自定义,这个正则表达式限定太多了,建议使用 /\w:\/.*?\/StarRail_Data/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant