diff --git a/CMakeLists.txt b/CMakeLists.txt index ff5844f..cc786d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ configure_linker_exports( FORWARDED_DLL "${STEAMAPI_DLL}_o" INPUT_SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/game_mode/exports" INPUT_DLLS "${DLL_INPUT}" - DEP_SOURCES "${STEAM_API_EXPORTS}" + DEP_SOURCES "${STEAM_API_EXPORTS}" # Is this redundant? ) configure_build_config(extra_build_config) diff --git a/src/core/api.cpp b/src/core/api.cpp index 9069381..cc0b0bb 100644 --- a/src/core/api.cpp +++ b/src/core/api.cpp @@ -27,7 +27,7 @@ namespace api { std::optional> fetch_dlcs_from_steam(AppId_t app_id) noexcept { try { - const auto url = fmt::format("https://store_mode.steampowered.com/dlc/{}/ajaxgetdlclist", app_id); + const auto url = fmt::format("https://store.steampowered.com/dlc/{}/ajaxgetdlclist", app_id); const auto json = koalabox::http_client::fetch_json(url); const auto response = json.get(); diff --git a/src/core/globals.cpp b/src/core/globals.cpp index e3c2e38..a4f3a35 100644 --- a/src/core/globals.cpp +++ b/src/core/globals.cpp @@ -1,7 +1,7 @@ #include namespace globals { - + // TODO: Refactor to koalabox? HMODULE smokeapi_handle = nullptr; HMODULE steamapi_module = nullptr; HMODULE vstdlib_module = nullptr; diff --git a/src/core/paths.cpp b/src/core/paths.cpp index 70c353b..f70564e 100644 --- a/src/core/paths.cpp +++ b/src/core/paths.cpp @@ -2,6 +2,7 @@ #include #include +// TODO: Refactor to KoalaBox namespace paths { Path get_self_path() { diff --git a/src/smoke_api/config.cpp b/src/smoke_api/config.cpp index 673e966..8ce9351 100644 --- a/src/smoke_api/config.cpp +++ b/src/smoke_api/config.cpp @@ -7,6 +7,7 @@ namespace smoke_api::config { Config instance; // NOLINT(cert-err58-cpp) + // TODO: Refactor to Koalabox void init_config() { const auto path = paths::get_config_path(); diff --git a/src/smoke_api/smoke_api.cpp b/src/smoke_api/smoke_api.cpp index 43a42d3..7bd98ec 100644 --- a/src/smoke_api/smoke_api.cpp +++ b/src/smoke_api/smoke_api.cpp @@ -89,7 +89,7 @@ namespace smoke_api { koalabox::logger::init_file_logger(paths::get_log_path()); } - // This kind of timestamp is reliable on for CI builds, as it will reflect the compilation + // This kind of timestamp is reliable only for CI builds, as it will reflect the compilation // time stamp only when this file gets recompiled. LOG_INFO("🐨 {} v{} | Compiled at '{}'", PROJECT_NAME, PROJECT_VERSION, __TIMESTAMP__)