mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 07:40:13 +01:00
Fix order of startup: Load Manga first, the jobs
This commit is contained in:
parent
febce6b92a
commit
585d7e3380
@ -146,6 +146,9 @@ public class JobBoss : GlobalBase
|
||||
return;
|
||||
}
|
||||
Regex idRex = new (@"(.*)\.json");
|
||||
|
||||
//Load Manga-Files
|
||||
ImportManga();
|
||||
|
||||
//Load json-job-files
|
||||
foreach (FileInfo file in new DirectoryInfo(TrangaSettings.jobsFolderPath).EnumerateFiles().Where(fileInfo => idRex.IsMatch(fileInfo.Name)))
|
||||
@ -166,9 +169,6 @@ public class JobBoss : GlobalBase
|
||||
UpdateJobFile(job, file.Name);
|
||||
}
|
||||
}
|
||||
|
||||
//Load Manga-Files
|
||||
ImportManga();
|
||||
|
||||
//Connect jobs to parent-jobs and add Publications to cache
|
||||
foreach (Job job in this.jobs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user