gamemoderun.in 293 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 preload path prefixed libgamemodeauto
  6. export LD_PRELOAD="${CONFIG_LIB_DIR}${LD_PRELOAD:+:$LD_PRELOAD}"
  7. # Launch
  8. exec "$@"