Fix/start error (#654)

* fix: lint

* chore: upgrade electron-ipc-cat to add try catch but useless

IPC Server: Sending response {
channel: 'ContextChannel',
request: { type: 'apply', propKey: 'get', args: [ 'supportedLanguagesMap' ] },
correlationId: '0.36061460136077916',
result: {}
}
Error sending from webFrameMain: Error: Failed to serialize arguments
at WebFrameMain.s.send (node:electron/js2c/browser_init:2:94282)
at WebContents.b.send (node:electron/js2c/browser_init:2:78703)
at I:\github\TidGi-Desktop.vite\build\main-BW_u7Pqi.js:39200:28

IPC Server: Sending response {
channel: 'ContextChannel',
request: { type: 'apply', propKey: 'get', args: [ 'supportedLanguagesMap' ] },
correlationId: '0.7064988939670734',
result: {}
}
Error sending from webFrameMain: Error: Failed to serialize arguments
at WebFrameMain.s.send (node:electron/js2c/browser_init:2:94282)
at WebContents.b.send (node:electron/js2c/browser_init:2:78703)
at I:\github\TidGi-Desktop.vite\build\main-BW_u7Pqi.js:39200:28

Proxy 对象不能被序列化

* fix: process.resourcesPath changes during app initialization, need to wait for it when start with scheme

* fix: Realign workspace view when reopening window to ensure browser view is properly positioned

fixes #626

* feat: api for git-sync-js to get deleted files

* fix: wikiWorker  methods should be async

* log debug not info

* fix: database should init frist before i18n

* fix: better error log when workspace config error

* chore: add maker-msix for windows

* fix: window.meta is not a function when view on browser

* feat: add more git services

* fix: discard file content cause lots of logs

fixes #653

* Update wiki

* test: Git Log window auto-refreshes when files change (only when window is open)

* test: use test id to wait and make test id debug log

* update i18n

* i18n

* lint

* Update test.yml

* Update test.yml

* Update index.tsx
This commit is contained in:
lin onetwo 2025-11-20 17:17:11 +08:00 committed by GitHub
parent 99c6d78078
commit 0e96d94809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 1416 additions and 600 deletions

58
pnpm-lock.yaml generated
View file

@ -117,8 +117,8 @@ importers:
specifier: ^4.0.0
version: 4.0.0
electron-ipc-cat:
specifier: 2.2.1
version: 2.2.1(electron@38.3.0)(rxjs@7.8.2)
specifier: 2.2.3
version: 2.2.3(electron@38.3.0)(rxjs@7.8.2)
electron-settings:
specifier: 5.0.0
version: 5.0.0(electron@38.3.0)
@ -297,6 +297,9 @@ importers:
'@electron-forge/cli':
specifier: 7.10.2
version: 7.10.2(@swc/core@1.12.0)(bluebird@3.7.2)(encoding@0.1.13)(esbuild@0.25.11)
'@electron-forge/maker-msix':
specifier: ^7.10.2
version: 7.10.2(bluebird@3.7.2)
'@electron-forge/plugin-auto-unpack-natives':
specifier: 7.10.2
version: 7.10.2(bluebird@3.7.2)
@ -1031,6 +1034,10 @@ packages:
resolution: {integrity: sha512-LldkYGkIhri99+HqetGjNzi2cdXy32o5uLlr7fDLoiegm8WAkvvWxFTLdSDS1RP94f6PVOKR9KHqPauu5GaIYw==}
engines: {node: '>= 16.4.0'}
'@electron-forge/maker-msix@7.10.2':
resolution: {integrity: sha512-3c2OA1XQ1M0VBDsDb531xqXcu3llXvVpJcKvSL7qzGKbSFOJu3iNZuvpDNGsHpGvbSz5Ea7mUG/Zep6TahiexQ==}
engines: {node: '>= 16.4.0'}
'@electron-forge/maker-rpm@7.10.2':
resolution: {integrity: sha512-LQoeYzbY/z1yuBBA+bNutCJmhCA4NcXUbFO4OTqsIX8B6y1zNTYZT4JEuhoK7eBsP4/Rz6u/JnNp0XOyjftOUQ==}
engines: {node: '>= 16.4.0'}
@ -3190,6 +3197,10 @@ packages:
resolution: {integrity: sha512-aUTnJc/JipRzJrNADXVvpVqi6CO0dn3nx4EVPxijri+fj3LUUDyZQOgVeW54Ob3Y1Xh9Iz8f+CgaCl8v0mn9bA==}
engines: {node: '>=18'}
chalk@3.0.0:
resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==}
engines: {node: '>=8'}
chalk@4.1.2:
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
engines: {node: '>=10'}
@ -3649,8 +3660,8 @@ packages:
engines: {node: '>= 10.0'}
hasBin: true
electron-ipc-cat@2.2.1:
resolution: {integrity: sha512-ybHpgKP42VPwAMsOmmwNc1umT1kzAn2VJcP+XC8awY5N8K0DXnidndLe1gwgXfkouHLbRxzybwCA5vYoSfrHvw==}
electron-ipc-cat@2.2.3:
resolution: {integrity: sha512-IbOiQtlu8umssyl8Gu54XHVmdQJQkv7HqMTKWNfLCMEAFFxoL74NxVLB5rI/5QIeZkIfccBAxtIA2GqJLEwZGw==}
peerDependencies:
electron: '>= 13.0.0'
rxjs: '>= 7.5.0'
@ -3676,6 +3687,9 @@ packages:
resolution: {integrity: sha512-1mNTwCfkolXl3kMf50yW3vE2lZj0y92P/HYWFBrb+v2S/pCka5mdwN3cagKm458A7NjndSwijynXgcLWRodsVg==}
engines: {node: '>=8.0.0'}
electron-windows-msix@2.0.4:
resolution: {integrity: sha512-rYRrCWT7Hey52995JNgtmXKwG0saTTVPRd4KymeejOdIgNrSP5hHC5nSmVyClOICGbc5/vL4U5A2Am6L/5t0lw==}
electron-winstaller@5.4.0:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
@ -7404,6 +7418,9 @@ packages:
utf-8-validate:
optional: true
xml-escape@1.1.0:
resolution: {integrity: sha512-B/T4sDK8Z6aUh/qNr7mjKAwwncIljFuUP+DO/D5hloYFj+90O88z8Wf7oSucZTHxBAsC1/CTP4rtx/x1Uf72Mg==}
xml-name-validator@5.0.0:
resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==}
engines: {node: '>=18'}
@ -8270,6 +8287,19 @@ snapshots:
- supports-color
optional: true
'@electron-forge/maker-msix@7.10.2(bluebird@3.7.2)':
dependencies:
'@electron-forge/core-utils': 7.10.2(bluebird@3.7.2)
'@electron-forge/maker-base': 7.10.2(bluebird@3.7.2)
'@electron-forge/shared-types': 7.10.2(bluebird@3.7.2)
cross-spawn: 7.0.6
electron-windows-msix: 2.0.4
fs-extra: 10.1.0
parse-author: 2.0.0
transitivePeerDependencies:
- bluebird
- supports-color
'@electron-forge/maker-rpm@7.10.2(bluebird@3.7.2)':
dependencies:
'@electron-forge/maker-base': 7.10.2(bluebird@3.7.2)
@ -10856,6 +10886,11 @@ snapshots:
chai@6.2.0: {}
chalk@3.0.0:
dependencies:
ansi-styles: 4.3.0
supports-color: 7.2.0
chalk@4.1.2:
dependencies:
ansi-styles: 4.3.0
@ -11337,7 +11372,7 @@ snapshots:
- supports-color
optional: true
electron-ipc-cat@2.2.1(electron@38.3.0)(rxjs@7.8.2):
electron-ipc-cat@2.2.3(electron@38.3.0)(rxjs@7.8.2):
dependencies:
electron: 38.3.0
memize: 2.1.1
@ -11373,6 +11408,17 @@ snapshots:
jsonfile: 4.0.0
mkdirp: 0.5.6
electron-windows-msix@2.0.4:
dependencies:
'@electron/windows-sign': 1.2.2
'@malept/cross-spawn-promise': 2.0.0
chalk: 3.0.0
debug: 4.4.3(supports-color@8.1.1)
fs-extra: 11.3.2
xml-escape: 1.1.0
transitivePeerDependencies:
- supports-color
electron-winstaller@5.4.0:
dependencies:
'@electron/asar': 3.4.1
@ -15540,6 +15586,8 @@ snapshots:
ws@8.18.3: {}
xml-escape@1.1.0: {}
xml-name-validator@5.0.0: {}
xml-parse-from-string@1.0.1: {}