重构数据同步功能,新增客户端模式

This commit is contained in:
lyswhut
2023-02-28 18:01:56 +08:00
parent b42092884e
commit 3b70acc3ca
43 changed files with 2232 additions and 1249 deletions
+5 -2
View File
@@ -2,7 +2,7 @@ import { join } from 'path'
import { homedir } from 'os'
const defaultSetting: LX.AppSetting = {
version: '2.0.0',
version: '2.1.0',
'common.windowSizeId': 3,
'common.fontSize': 16,
@@ -108,8 +108,11 @@ const defaultSetting: LX.AppSetting = {
// 'tray.isToTray': false,
'tray.themeId': 0,
'sync.mode': 'server',
'sync.enable': false,
'sync.port': '23332',
'sync.server.port': '23332',
'sync.server.maxSsnapshotNum': 5,
'sync.client.host': '',
'theme.id': 'blue_plus',
// 'theme.id': 'green',