mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Add config file parsing
Checks for a gamemode.ini in /usr/share/gamemode/ (or in the cwd for debugging) Currently allows for blacklisting and whitelisting clients based on rudimentary needle-haystack executable name checks See the example/gamemode.ini file for expected syntax Using the BSD licensed inih library (with additional meson.build file)
This commit is contained in:
9
example/gamemode.ini
Normal file
9
example/gamemode.ini
Normal file
@ -0,0 +1,9 @@
|
||||
[filter]
|
||||
; Gamemode will always reject anything in the blacklist
|
||||
blacklist=HalfLife3
|
||||
glxgears
|
||||
steam
|
||||
|
||||
; If "whitelist" entry has a value(s)
|
||||
; gamemode will reject anything not in the whitelist
|
||||
;whitelist=RiseOfTheTombRaider
|
Reference in New Issue
Block a user