mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-27 01:41: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:
@ -82,6 +82,10 @@ subdir('lib')
|
||||
# The daemon can be disabled if necessary, allowing multilib builds of the
|
||||
# main library
|
||||
if with_daemon == true
|
||||
# inih currently only needed by the daemon
|
||||
inih = subproject('inih')
|
||||
inih_dependency = inih.get_variable('inih_dependency')
|
||||
|
||||
subdir('daemon')
|
||||
|
||||
# All installed data is currently daemon specific
|
||||
|
Reference in New Issue
Block a user