feat(sync): show device hostnames in Linked devices table; document sync fully
CI / Build & Test (push) Successful in 4m20s
CI / Build & Test (push) Successful in 4m20s
- Sync: use OS hostname for each device in Linked devices table; persist deviceNames in state and merge on save/apply so peers see each other's names - Docs: expand SYNC.md (linked devices table, replace-state modal, multi-device, offline); NATIVE-HOST getSyncStatus (deviceId, syncGroupId, linkedDevices, deviceName/name); ARCHITECTURE sync-manager and autopass paths; README features/dashboard/file locations/doc link; BACKUP and SECURITY cross-refs
This commit is contained in:
@@ -105,7 +105,8 @@ function loadState() {
|
||||
sshConnections: Array.isArray(data.sshConnections) ? data.sshConnections : [],
|
||||
rdpConnections: Array.isArray(data.rdpConnections) ? data.rdpConnections : [],
|
||||
nextServerId: typeof data.nextServerId === 'number' ? data.nextServerId : 0,
|
||||
nextServiceTunnelId: typeof data.nextServiceTunnelId === 'number' ? data.nextServiceTunnelId : 0
|
||||
nextServiceTunnelId: typeof data.nextServiceTunnelId === 'number' ? data.nextServiceTunnelId : 0,
|
||||
deviceNames: (data.deviceNames && typeof data.deviceNames === 'object') ? { ...data.deviceNames } : {}
|
||||
};
|
||||
debugLog('state loaded path=', file, 'servers=', out.servers.length, 'vhosts=', out.virtualHosts.length);
|
||||
if (process.stderr && (out.servers.length || out.virtualHosts.length)) {
|
||||
|
||||
Reference in New Issue
Block a user