mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-26 14:58:55 +08:00
690a79b905
close AF-2020
12 lines
280 B
TypeScript
12 lines
280 B
TypeScript
import { logger } from '../logger';
|
|
import { initAndShowMainWindow } from './main-window';
|
|
|
|
/**
|
|
* Launch app depending on launch stage
|
|
*/
|
|
export async function launch() {
|
|
initAndShowMainWindow().catch(e => {
|
|
logger.error('Failed to restore or create window:', e);
|
|
});
|
|
}
|