feat: hide NFS option on Windows and refactor NFS implementation for build tagging
Build and Upload Binaries / build-and-upload (push) Successful in 1m1s

This commit is contained in:
2026-06-09 13:36:36 +01:00
parent 1490e2e02b
commit aa69bbb0a5
3 changed files with 37 additions and 0 deletions
+8
View File
@@ -16,6 +16,14 @@ function uuidv4() {
}
async function init() {
if (window.runtime && window.runtime.Environment) {
const env = await window.runtime.Environment();
if (env.platform === 'windows') {
const nfsOpt = document.querySelector('#conn-protocol option[value="nfs"]');
if (nfsOpt) nfsOpt.remove();
}
}
await loadConnections();
await loadDirectory(currentConn, currentPath);