mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 16:34:06 +01:00
🎨 Improve the initialization interface to select the workspace cloud disk path prompt Fix https://github.com/siyuan-note/siyuan/issues/7975
This commit is contained in:
parent
e9f3bdc476
commit
099b784ea0
2 changed files with 7 additions and 3 deletions
|
|
@ -358,8 +358,7 @@
|
|||
const {ipcRenderer} = require('electron')
|
||||
const fs = require('fs')
|
||||
const initPath = result.filePaths[0]
|
||||
const absPathLower = initPath.toLowerCase()
|
||||
if (isICloudPath(absPathLower)) {
|
||||
if (isICloudPath(initPath)) {
|
||||
let msg = '⚠️ This folder is under the iCloud sync path, please change another path'
|
||||
if ('zh_CN' === currentLang) {
|
||||
msg = '⚠️ 该文件夹位于 iCloud 同步路径下,请更换其他路径'
|
||||
|
|
@ -368,7 +367,6 @@
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
if (isCloudDrivePath(initPath)) {
|
||||
let msg = '⚠️ The folder path can not contain onedrive, dropbox, google drive, pcloud and 坚果云, please change another path'
|
||||
if ('zh_CN' === currentLang) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue