@@ -10,18 +10,18 @@ import { TaskOptions } from '../configHandlers/TaskOptions.ts';
10
10
const PET_CACHE_FILENAME = 'sea-pets.json' ;
11
11
const MOD_LIST_FILENAME = 'sea-mods.json' ;
12
12
const LAUNCHER_CONFIG_FILENAME = 'sea-launcher.json' ;
13
- const TASK_CONFIG_FILENAME = 'sea-task-config .json' ;
13
+ const TASK_OPTIONS_FILENAME = 'sea-task-options .json' ;
14
14
15
15
export const setupConfigHandlers = async ( appRoot : string ) => {
16
16
const petCatchTimeStorage = new FileSystemStorage ( path . join ( appRoot , configsRoot , PET_CACHE_FILENAME ) ) ;
17
17
const launcherConfigStorage = new FileSystemStorage ( path . join ( appRoot , configsRoot , LAUNCHER_CONFIG_FILENAME ) ) ;
18
18
const modIndexStorage = new FileSystemStorage ( path . join ( appRoot , configsRoot , MOD_LIST_FILENAME ) ) ;
19
- const taskConfigStorage = new FileSystemStorage ( path . join ( appRoot , configsRoot , TASK_CONFIG_FILENAME ) ) ;
19
+ const taskOptionsStorage = new FileSystemStorage ( path . join ( appRoot , configsRoot , TASK_OPTIONS_FILENAME ) ) ;
20
20
21
21
const petCatchTime = new PetCatchTime ( petCatchTimeStorage ) ;
22
22
const launcherConfig = new LauncherConfig ( launcherConfigStorage ) ;
23
23
const modIndex = new ModIndex ( modIndexStorage ) ;
24
- const taskConfig = new TaskOptions ( taskConfigStorage ) ;
24
+ const taskConfig = new TaskOptions ( taskOptionsStorage ) ;
25
25
await Promise . all ( [ petCatchTime . load ( ) , launcherConfig . load ( ) , taskConfig . load ( ) , modIndex . load ( ) ] ) ;
26
26
27
27
return {
0 commit comments