gamemoderun.in 375 B

12345678910
  1. #!/bin/bash
  2. # Helper script to launch games with gamemode
  3. # Path to installed libgamemodeauto. ld.so will substitute "\$LIB" to get the
  4. # appropriate path depending on whether the app is 32- or 64-bit.
  5. GAMEMODEAUTO="@GAMEMODERUN_PREFIX@libgamemodeauto.so.0"
  6. LD_PRELOAD="${GAMEMODEAUTO}${LD_PRELOAD:+:$LD_PRELOAD}"
  7. exec $GAMEMODERUNEXEC env LD_PRELOAD="${LD_PRELOAD}" "$@"