Repository navigation
Replies: 1 comment
|
先别再重装,先确认更新前后的数据目录是不是同一个。Windows 默认用 $roots = @((Join-Path $env:USERPROFILE '.dsh'), $env:DSH_HOME) |
Where-Object { $_ } | Select-Object -Unique
foreach ($dir in $roots) {
[pscustomobject]@{
Location = $dir
HasSessions = Test-Path -LiteralPath (Join-Path $dir 'sessions')
HasProfile = Test-Path -LiteralPath (Join-Path $dir 'profiles\desktop\package.json')
}
}这几行只查路径,不会改文件。如果找到旧目录,先备份整份目录,再让 Desktop 用回原来的 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Desktop端0.2.2-rc.2里点击更新,更新到0.2.2-rc.3后所有plugin和对话sessions都被覆盖了,包括Users/.dsh里的也没了
All reactions