mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(electron): hide tray for now (#10498)
This commit is contained in:
@@ -14,8 +14,6 @@ import { registerEvents } from './events';
|
|||||||
import { registerHandlers } from './handlers';
|
import { registerHandlers } from './handlers';
|
||||||
import { logger } from './logger';
|
import { logger } from './logger';
|
||||||
import { registerProtocol } from './protocol';
|
import { registerProtocol } from './protocol';
|
||||||
import { getShareableContent } from './recording';
|
|
||||||
import { getTrayState } from './tray';
|
|
||||||
import { isOnline } from './ui';
|
import { isOnline } from './ui';
|
||||||
import { launch } from './windows-manager/launcher';
|
import { launch } from './windows-manager/launcher';
|
||||||
import { launchStage } from './windows-manager/stage';
|
import { launchStage } from './windows-manager/stage';
|
||||||
@@ -87,9 +85,7 @@ app
|
|||||||
.then(registerHandlers)
|
.then(registerHandlers)
|
||||||
.then(registerEvents)
|
.then(registerEvents)
|
||||||
.then(launch)
|
.then(launch)
|
||||||
.then(getShareableContent)
|
|
||||||
.then(createApplicationMenu)
|
.then(createApplicationMenu)
|
||||||
.then(getTrayState)
|
|
||||||
.catch(e => console.error('Failed create window:', e));
|
.catch(e => console.error('Failed create window:', e));
|
||||||
|
|
||||||
if (process.env.SENTRY_RELEASE) {
|
if (process.env.SENTRY_RELEASE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user