This commit is contained in:
Daniel 2024-03-14 09:46:54 +08:00
parent 271cf982f7
commit 6ff917f48d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 12 additions and 1 deletions

View file

@ -243,7 +243,6 @@ func initWorkspaceDir(workspaceArg string) {
} else {
workspacePaths, _ = ReadWorkspacePaths()
if 0 < len(workspacePaths) {
// 取最后一个(也就是最近打开的)工作空间
WorkspaceDir = workspacePaths[len(workspacePaths)-1]
} else {
WorkspaceDir = defaultWorkspaceDir