From b380e9f52d6a78c236b0215105c9ddab64579224 Mon Sep 17 00:00:00 2001 From: RainYang1765 Date: Wed, 4 Mar 2026 13:44:47 +0800 Subject: [PATCH 1/5] Add Windows specific recommend option add option to set windows volume name after mount operation. Signed-off-by: RainYang1765 --- src/views/MountView.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/MountView.vue b/src/views/MountView.vue index 365ef63..093e2ce 100644 --- a/src/views/MountView.vue +++ b/src/views/MountView.vue @@ -641,6 +641,12 @@ const commonFlags = [ { flag: '--progress', value: '', descriptionKey: 'progress' }, ], }, + { + category: 'Windows Specific', + flags: [ + { flag: '--volname', value: 'OpenlistDAV', descriptionKey: 'volname' }, + ], + }, ] const filterList = computed(() => [ From 897383b71aa49e4f989a3edd23211c8b5ce08769 Mon Sep 17 00:00:00 2001 From: RainYang1765 Date: Wed, 4 Mar 2026 13:47:27 +0800 Subject: [PATCH 2/5] Update en.json Signed-off-by: RainYang1765 --- src/i18n/locales/en.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 835649d..47c3dee 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -210,7 +210,8 @@ "vfs-cache-mode-writes": "Cache local writes, upload file contents after writing completes", "vfs-read-chunk-size": "Read chunk size (default 128M)", "webdav-bearer-token": "Custom bearer token", - "webdav-headers": "Set custom HTTP headers" + "webdav-headers": "Set custom HTTP headers", + "volname": "Set Windows volume name after mount" }, "flagPlaceholder": "e.g., --vfs-cache-mode=full", "mountPoint": "Mount Path", From 32291cec856a8599f83575febae0d189657535be Mon Sep 17 00:00:00 2001 From: RainYang1765 Date: Wed, 4 Mar 2026 13:48:53 +0800 Subject: [PATCH 3/5] Update zh.json Signed-off-by: RainYang1765 --- src/i18n/locales/zh.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index a1596c6..4ebc80e 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -209,6 +209,7 @@ "vfs-cache-mode-minimal": "只缓存文件的元信息", "vfs-cache-mode-writes": "缓存本地写入,文件内容写入完成后上传", "vfs-read-chunk-size": "读取块大小(默认 128M)", + "volname": "设置挂载后的windows卷名", "webdav-bearer-token": "自定义token", "webdav-headers": "设置自定义 HTTP 标头" }, From 69cdae2e8f3c0978969f2215eaf62c0b4ba304a5 Mon Sep 17 00:00:00 2001 From: Suyunmeng Date: Sun, 26 Jul 2026 03:48:50 +0800 Subject: [PATCH 4/5] fix(mount): limit volume-name preset to Windows Hide the unsupported quick flag on Linux and translate its Windows category. --- src/i18n/locales/en.json | 3 ++- src/i18n/locales/zh.json | 3 ++- src/views/MountView.vue | 16 ++++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 47c3dee..14fdce7 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -180,7 +180,8 @@ "Network": "Network", "Performance": "Performance", "Security": "Security", - "WebDAV Specific": "WebDAV Specific" + "WebDAV Specific": "WebDAV Specific", + "Windows Specific": "Windows Specific" }, "flagDescriptions": { "allow-other": "Allow other users to access the mount", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 4ebc80e..559b89d 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -180,7 +180,8 @@ "Network": "网络", "Performance": "性能", "Security": "安全", - "WebDAV Specific": "WebDAV 专用" + "WebDAV Specific": "WebDAV 专用", + "Windows Specific": "Windows 专用" }, "flagDescriptions": { "allow-other": "允许其他用户访问挂载点", diff --git a/src/views/MountView.vue b/src/views/MountView.vue index 093e2ce..a78a61b 100644 --- a/src/views/MountView.vue +++ b/src/views/MountView.vue @@ -641,12 +641,16 @@ const commonFlags = [ { flag: '--progress', value: '', descriptionKey: 'progress' }, ], }, - { - category: 'Windows Specific', - flags: [ - { flag: '--volname', value: 'OpenlistDAV', descriptionKey: 'volname' }, - ], - }, + ...(isWindows + ? [ + { + category: 'Windows Specific', + flags: [ + { flag: '--volname', value: 'OpenlistDAV', descriptionKey: 'volname' }, + ], + }, + ] + : []), ] const filterList = computed(() => [ From 9c04310d81dde347d5e6937607f03d8aaa08ac72 Mon Sep 17 00:00:00 2001 From: Suyunmeng Date: Sun, 26 Jul 2026 03:53:21 +0800 Subject: [PATCH 5/5] style(ci): fix frontend lint formatting Align the volume-name preset and English locale with CI formatting rules. --- src/i18n/locales/en.json | 4 ++-- src/views/MountView.vue | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 14fdce7..3ec470f 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -210,9 +210,9 @@ "vfs-cache-mode-minimal": "Cache only file metadata", "vfs-cache-mode-writes": "Cache local writes, upload file contents after writing completes", "vfs-read-chunk-size": "Read chunk size (default 128M)", + "volname": "Set Windows volume name after mount", "webdav-bearer-token": "Custom bearer token", - "webdav-headers": "Set custom HTTP headers", - "volname": "Set Windows volume name after mount" + "webdav-headers": "Set custom HTTP headers" }, "flagPlaceholder": "e.g., --vfs-cache-mode=full", "mountPoint": "Mount Path", diff --git a/src/views/MountView.vue b/src/views/MountView.vue index a78a61b..3273a67 100644 --- a/src/views/MountView.vue +++ b/src/views/MountView.vue @@ -645,9 +645,7 @@ const commonFlags = [ ? [ { category: 'Windows Specific', - flags: [ - { flag: '--volname', value: 'OpenlistDAV', descriptionKey: 'volname' }, - ], + flags: [{ flag: '--volname', value: 'OpenlistDAV', descriptionKey: 'volname' }], }, ] : []),