mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-05-04 19:42:15 -04:00
Added config reload via IPC pipes
This commit is contained in:
@@ -54,4 +54,6 @@ namespace smoke_api::config {
|
||||
Vector<DLC> get_extra_dlcs(AppId_t app_id);
|
||||
|
||||
bool is_dlc_unlocked(uint32_t app_id, uint32_t dlc_id, const Function<bool()>& original_function);
|
||||
|
||||
DLL_EXPORT(void) ReloadConfig();
|
||||
}
|
||||
|
||||
@@ -113,6 +113,7 @@ namespace smoke_api {
|
||||
} else {
|
||||
init_proxy_mode();
|
||||
}
|
||||
|
||||
LOG_INFO("🚀 Initialization complete")
|
||||
} catch (const Exception& ex) {
|
||||
koalabox::util::panic(fmt::format("Initialization error: {}", ex.what()));
|
||||
|
||||
Reference in New Issue
Block a user