diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 2f30d12..ae33d44 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -567,7 +567,7 @@ dependencies = [ [[package]] name = "powertools-rs" -version = "1.0.0" +version = "1.0.1" dependencies = [ "log", "serde", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 5763c6f..28087a2 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "powertools-rs" -version = "1.0.0" +version = "1.0.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package.json b/package.json index 9d5e609..5359023 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "PowerTools", - "version": "1.0.0", + "version": "1.0.1", "description": "Power tweaks for power users", "scripts": { "build": "shx rm -rf dist && rollup -c", diff --git a/src/index.tsx b/src/index.tsx index 70f7b55..91f9547 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -130,8 +130,9 @@ const reload = function() { startHook = SteamClient.Apps.RegisterForGameActionStart((actionType, id) => { //@ts-ignore let gameInfo: any = appStore.GetAppOverviewByGameID(id); + // don't use gameInfo.appid, haha backend.resolve( - backend.loadGeneralSettings(gameInfo.appid.toString() + ".json", gameInfo.display_name), + backend.loadGeneralSettings(id.toString() + ".json", gameInfo.display_name), (ok: boolean) => {console.debug("Loading settings ok? " + ok)} ); });