mirror of
https://github.com/lutris/lutris
synced 2024-10-06 15:59:39 +00:00
Add STORE env var
This commit is contained in:
parent
7aa376944b
commit
993ebde5e8
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue