From 4b718a4bc77aaf4dc3e90a89be4f6bf385b8d1f0 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Wed, 11 Oct 2017 21:01:01 +0100 Subject: [PATCH] shim: Always respect steam-binary option This resolves issue #13, but requires the packagers are explicit in setting the steam path. Signed-off-by: Ikey Doherty --- src/shim/shim.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/shim/shim.c b/src/shim/shim.c index d4d2acf..030ffc4 100644 --- a/src/shim/shim.c +++ b/src/shim/shim.c @@ -44,11 +44,8 @@ int main(int argc, char **argv) int8_t off = 0; int (*vfunc)(const char *, char *const argv[]) = NULL; -#ifdef REPLACE_STEAM lsi_exec_bin = STEAM_BINARY; -#else - lsi_exec_bin = "/usr/bin/steam"; -#endif + /* Initialise config */ if (!lsi_config_load(&config)) { lsi_config_load_defaults(&config);