🎨 改进 Windows 端第三方同步盘检测 Fix https://github.com/siyuan-note/siyuan/issues/7777

This commit is contained in:
Liang Ding 2023-03-27 15:43:18 +08:00
parent 25c2901eda
commit 01d5207679
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -331,7 +331,7 @@ func existAvailabilityStatus(workspaceAbsPath string) bool {
}
folderObj := result.ToIDispatch()
result = oleutil.MustCallMethod(folderObj, "ParseName", file)
result, err = oleutil.CallMethod(folderObj, "ParseName", file)
if nil != err {
logging.LogWarnf("call shell [ParseName] failed: %s", err)
return false