From 5debdc819f5636ad279bdecf4ded1fbd29c91612 Mon Sep 17 00:00:00 2001 From: acidicoala <67734819+acidicoala@users.noreply.github.com> Date: Thu, 11 Sep 2025 19:10:40 +0500 Subject: [PATCH] Bump to v3.1.2 --- CMakeLists.txt | 2 +- README.md | 2 +- res/SmokeAPI.config.json | 2 +- res/SmokeAPI.schema.json | 4 ++-- src/smoke_api/smoke_api.cpp | 3 +++ 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d96037..0974baf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.24) -project(SmokeAPI VERSION 3.1.1) +project(SmokeAPI VERSION 3.1.2) include(KoalaBox/cmake/KoalaBox.cmake) diff --git a/README.md b/README.md index 04cd4c9..b303d20 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ Below you can find an example config where nearly every option has been customiz ```json { - "$schema": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.1/res/SmokeAPI.schema.json", + "$schema": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.2/res/SmokeAPI.schema.json", "$version": 4, "logging": true, "log_steam_http": true, diff --git a/res/SmokeAPI.config.json b/res/SmokeAPI.config.json index e8b7535..3e178a7 100644 --- a/res/SmokeAPI.config.json +++ b/res/SmokeAPI.config.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.1/res/SmokeAPI.schema.json", + "$schema": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.2/res/SmokeAPI.schema.json", "$version": 4, "logging": true, "log_steam_http": false, diff --git a/res/SmokeAPI.schema.json b/res/SmokeAPI.schema.json index e4b24ab..3e0f9fc 100644 --- a/res/SmokeAPI.schema.json +++ b/res/SmokeAPI.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.1/res/SmokeAPI.schema.json", + "$id": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.2/res/SmokeAPI.schema.json", "title": "SmokeAPI configuration", "type": "object", "additionalProperties": false, @@ -120,7 +120,7 @@ }, "examples": [ { - "$schema": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.1/res/SmokeAPI.schema.json", + "$schema": "https://raw.githubusercontent.com/acidicoala/SmokeAPI/refs/tags/v3.1.2/res/SmokeAPI.schema.json", "$version": 4, "logging": true, "log_steam_http": true, diff --git a/src/smoke_api/smoke_api.cpp b/src/smoke_api/smoke_api.cpp index 1ce019b..e73baeb 100644 --- a/src/smoke_api/smoke_api.cpp +++ b/src/smoke_api/smoke_api.cpp @@ -74,6 +74,9 @@ namespace { const auto steamclient_versions = find_steamclient_versions(steamapi_handle); for(const auto& steamclient_version : steamclient_versions) { if(CreateInterface$(steamclient_version.c_str(), nullptr)) { + // TODO: This is not true when running under Proton. + // Even before initialization, an interface will be returned, + // but GetISteamGenericInterface will still fail. LOG_WARN("'{}' was already initialized. SmokeAPI might not work as expected.", steamclient_version); LOG_WARN("Probable cause: SmokeAPI was injected too late. If possible, try injecting it earlier.");