mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-10-03 23:48:34 +00:00
redirect: Unbreak Ark profile
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
#include "redirect.h"
|
||||
|
||||
#define ARK_BASE "steamapps/common/ARK/ShooterGame"
|
||||
#define ARK_CONTENT ARK_BASE "Content"
|
||||
#define ARK_BINARY ARK_BASE "Binaries/Linux/ShooterGame"
|
||||
#define ARK_CONTENT ARK_BASE "/Content"
|
||||
#define ARK_BINARY ARK_BASE "/Binaries/Linux/ShooterGame"
|
||||
|
||||
/**
|
||||
* This generator function is responsible for supporting ARK: Survival Evolved
|
||||
@@ -38,7 +38,7 @@ LsiRedirectProfile *lsi_redirect_profile_new_ark(char *process_name, char *steam
|
||||
autofree(char) *match_process = NULL;
|
||||
autofree(char) *test_process = NULL;
|
||||
|
||||
if (asprintf(&match_process, "%s/%s", steam_path, ARK_BINARY)) {
|
||||
if (asprintf(&match_process, "%s/%s", steam_path, ARK_BINARY) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user