mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
lsteamclient: Sync environment only once
This commit is contained in:
parent
6ad6ed2249
commit
18e235f96b
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue