Skip to content

改进 Windows 端默认工作空间路径 #5622

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

Closed
88250 opened this issue Aug 12, 2022 · 0 comments
Closed

改进 Windows 端默认工作空间路径 #5622

88250 opened this issue Aug 12, 2022 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Aug 12, 2022

目前 User home 是优先通过 %HOMEDRIVE%%HOMEPATH% 获取的,如果这两个环境变量之一为空再使用 %USERPROFILE% 来获取。获取到 User home 后拼接 Documents/SiYuan 作为默认的工作空间路径。

改为优先使用 %USERPROFILE% 拼接 Documents/SiYuan 作为默认的工作空间路径,如果 %USERPROFILE% 不存在再使用 User home 拼接。

@88250 88250 added this to the 2.1.7 milestone Aug 12, 2022
@88250 88250 self-assigned this Aug 12, 2022
88250 added a commit that referenced this issue Aug 12, 2022

Unverified

This user has not yet uploaded their public signing key.
@88250 88250 closed this as completed Aug 12, 2022
88250 added a commit that referenced this issue Aug 13, 2022

Unverified

This user has not yet uploaded their public signing key.
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

1 participant