diff --git a/lutris/game.py b/lutris/game.py index 9f11983f4..145e2f53d 100644 --- a/lutris/game.py +++ b/lutris/game.py @@ -677,6 +677,7 @@ class Game(GObject.Object): command, env = get_launch_parameters(self.runner, gameplay_info) env["game_name"] = self.name # What is this used for?? env["GAMEID"] = proton.get_game_id(self) + env["STORE"] = self.service if self.service != "humblebundle" else "humble" self.game_runtime_config = { "args": command, "env": env, diff --git a/lutris/util/wine/proton.py b/lutris/util/wine/proton.py index c6a17949e..c048eb979 100644 --- a/lutris/util/wine/proton.py +++ b/lutris/util/wine/proton.py @@ -1,6 +1,6 @@ """Utility module to deal with Proton and ULWGL""" -import os import json +import os from typing import Generator, List from lutris import settings @@ -108,5 +108,5 @@ def get_game_id(game): ) and ulwgl_game["appid"] == game.appid ): - return ulwgl_game["ulwgl_id"].upper() + return ulwgl_game["ulwgl_id"] return default_id