This commit is contained in:
yj 2024-08-06 15:13:11 +08:00
parent 1b02462e4b
commit cad0931c87
1 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,9 @@ const App: React.FC = () => {
storage.setItem('reconnect', true) storage.setItem('reconnect', true)
}) })
window.electron.onUpdate((_e: any, data: any) => { window.electron.onUpdate((_e: any, data: any) => {
updateModalRef.current.changeModal(data) if (location.hash.indexOf('/meeting') !== -1) {
updateModalRef.current.changeModal(data)
}
}) })
if (!storage.getItem('setting')) { if (!storage.getItem('setting')) {
storage.setItem('setting', JSON.stringify({ storage.setItem('setting', JSON.stringify({