attempt to fix drive letter mount on windows (#205 )

This commit is contained in:
FTCHD
2026-05-10 23:29:49 +03:00
parent e663aca821
commit fe2828b294
+1
View File
@@ -790,6 +790,7 @@ export async function startMount({
const mp = dstFullDirPath
.replace(':local:', '')
.replace(RE_BACKSLASH, '/')
.replace(/\/+/g, '/')
if (/^[a-zA-Z]:\/$/.test(mp)) {
return mp.slice(0, -1)
}