mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-27 22:18:21 +03:00
lsteamclient: Sync environment only once
This commit is contained in:
parent
6ad6ed2249
commit
18e235f96b
@ -452,11 +452,11 @@ static int load_steamclient(void)
|
||||
{
|
||||
char path[PATH_MAX], resolved_path[PATH_MAX];
|
||||
|
||||
sync_environment();
|
||||
|
||||
if(steamclient_lib)
|
||||
return 1;
|
||||
|
||||
sync_environment();
|
||||
|
||||
#ifdef __APPLE__
|
||||
if(getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH")){
|
||||
snprintf(path, PATH_MAX, "%s/steamclient.dylib", getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user