mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-14 00:49:20 +02:00
Add hybrid GPU support
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
@@ -5,6 +5,6 @@
|
||||
# appropriate path depending on whether the app is 32- or 64-bit.
|
||||
GAMEMODEAUTO="@GAMEMODE_PREFIX@/\$LIB/libgamemodeauto.so.0"
|
||||
|
||||
export LD_PRELOAD="${GAMEMODEAUTO}${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||
LD_PRELOAD="${GAMEMODEAUTO}${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||
|
||||
exec "$@"
|
||||
exec $GAMEMODERUNEXEC env LD_PRELOAD="${LD_PRELOAD}" "$@"
|
||||
|
Reference in New Issue
Block a user