mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-06 03:32:14 +00:00
Enhancements
Refresh cron schedule after loading TOML preferences (#629). Keep line order of Plugin section in Loon configs.
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -718,6 +718,7 @@ void readTOMLConf(toml::value &root)
|
||||
auto tasks = toml::find_or<std::vector<toml::value>>(root, "tasks", {});
|
||||
importItems(tasks, "tasks", false);
|
||||
global.cronTasks = toml::get<CronTaskConfigs>(toml::value(tasks));
|
||||
refresh_schedule();
|
||||
|
||||
const auto §ion_server = toml::find(root, "server");
|
||||
|
||||
|
||||
Reference in new issue
Block a user