mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 11:39:25 +08:00
Opt: Name of adjustment method
This commit is contained in:
committed by
anmengweilai
parent
96fc13de6b
commit
a7a0575566
@@ -34,7 +34,7 @@ export const addIpcMainListener = async (mainWindow: BrowserWindow, coreService:
|
||||
|
||||
ipcMain.on(INSTALLER_READY, function () {
|
||||
logger.info('-----INSTALLER_READY-----');
|
||||
coreService.run();
|
||||
coreService.next();
|
||||
});
|
||||
|
||||
ipcMain.on(ELECTRON_THEME, (_, args) => {
|
||||
|
||||
@@ -57,6 +57,10 @@ export class CoreService {
|
||||
return this.curService;
|
||||
}
|
||||
|
||||
async next(...rags: any[]) {
|
||||
return this.run(...rags);
|
||||
}
|
||||
|
||||
get curService() {
|
||||
return this.currentService;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user