An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve cloud disk path detect
Danielc849f2a50e0e
diff --git a/app/electron/init.html b/app/electron/init.htmlindex ab715f7559..045cb40a02 100644--- a/app/electron/init.html+++ b/app/electron/init.html@@ -506,9 +506,9 @@}if (isCloudDrivePath(initPath)) {- let msg = '⚠️ The folder path can not contain onedrive, dropbox, google drive, pcloud and 坚果云, please change another path'+ let msg = '⚠️ The folder path can not contain onedrive, dropbox, google drive, pcloud, nutstore, baidunetdisk, weiyun,坚果云,百度网盘 and 腾讯微云, etc., please change another path'if (isChinese(currentLang)) {- msg = '⚠️ 文件夹路径不能包含 onedrive、dropbox、google drive、pcloud 和 坚果云,请更换其他路径'+ msg = '⚠️ 文件夹路径不能包含 onedrive、dropbox、google drive、pcloud、nutstore、baidunetdisk、weiyun、坚果云、百度网盘和腾讯微云等字样,请更换其他路径'}alert(msg)return@@ -564,7 +564,9 @@const absPathLower = absPath.toLowerCase()return -1 < absPathLower.indexOf("onedrive") || -1 < absPathLower.indexOf("dropbox") ||-1 < absPathLower.indexOf("google drive") || -1 < absPathLower.indexOf("pcloud") ||- -1 < absPathLower.indexOf("坚果云")+ -1 < absPathLower.indexOf("坚果云") || -1 < absPathLower.indexOf("nutstore") ||+ -1 < absPathLower.indexOf("百度网盘") || -1 < absPathLower.indexOf("baidunetdisk") ||+ -1 < absPathLower.indexOf("腾讯微云") || -1 < absPathLower.indexOf("weiyun");}const isICloudPath = (absPath) => {