1
0

gamemoderun 299 B

123456789
  1. #!/bin/bash
  2. # Helper script to launch games with gamemode
  3. GAMEMODEAUTO_NAME="libgamemodeauto.so.0"
  4. # ld will find the right path to load the library, including for 32-bit apps.
  5. LD_PRELOAD="${GAMEMODEAUTO_NAME}${LD_PRELOAD:+:$LD_PRELOAD}"
  6. exec env LD_PRELOAD="${LD_PRELOAD}" $GAMEMODERUNEXEC "$@"