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:
@ -21,6 +21,7 @@ daemon_sources = [
|
||||
'daemonize.c',
|
||||
'dbus_messaging.c',
|
||||
'governors.c',
|
||||
'daemon_config.c',
|
||||
]
|
||||
|
||||
executable(
|
||||
@ -30,6 +31,7 @@ executable(
|
||||
link_daemon_common,
|
||||
dep_threads,
|
||||
dep_systemd,
|
||||
inih_dependency,
|
||||
],
|
||||
include_directories: [
|
||||
config_h_dir,
|
||||
|
Reference in New Issue
Block a user