1
0

gamemoderun.in 306 B

1234567891011
  1. #!/bin/bash
  2. # Helper script to launch games with gamemode
  3. # Path to install gamemoded auto script
  4. CONFIG_LIB_DIR="@GAMEMODE_LIB_DIR@/libgamemodeauto.so.0"
  5. # Set the ld library path prefixed libgamemodeauto
  6. export LD_LIBRARY_PATH=${CONFIG_LIB_DIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
  7. # Launch
  8. exec "$@"