Files

24 lines
659 B
TypeScript
Raw Permalink Normal View History

2025-10-16 20:01:57 +08:00
/**
* Preload module, this file will be loaded when the program starts.
*/
import {logger} from 'ee-core/log';
import {trayService} from '../service/os/tray';
import {securityService} from '../service/os/security';
import {autoUpdaterService} from '../service/os/auto_updater';
2025-10-24 15:10:23 +08:00
import {activateRecordService} from '../service/database/activateRecord';
2025-10-16 20:01:57 +08:00
function preload(): void {
// Example feature module, optional to use and modify
logger.info('[preload] load 5');
trayService.create();
securityService.create();
autoUpdaterService.create();
2025-10-24 15:10:23 +08:00
activateRecordService.init();
2025-10-16 20:01:57 +08:00
}
/**
* Entry point of the preload module
*/
export { preload };