flightlessmango
2fe9808f69
Merge pull request #433 from baryluk/programname
...
Improve code for program name extraction
4 years ago
jackun
4862d83b60
Make `add_blacklist` const&
...
Might be optimized by compiler already but who knows.
4 years ago
Witold Baryluk
4f20da781d
Improve code for program name extraction
...
This cleans up the code, as well fixes the bug of not setting
program_name if the MANGOHUD_CONFIG env is specified.
Instead of global variable, that could be not-initialized
use a function to get a program name in logging.
While at it, revamp code and separate things into own functions,
and return by value, and make them easier to use / share code.
4 years ago
Alessandro Toia
221c355f15
Check if item exits before adding to blacklist
4 years ago
Alessandro Toia
7c80dc53ef
Allow users to add a new item to the blacklist from config file
4 years ago
jackun
44060c2b80
Force blacklist re-check at certain points
...
Wine preloader that executed a non-blacklisted app may execute a blacklisted app,
or vice versa, and previous check applies to new app too.
4 years ago
Valters
40017bc1e6
Change blacklist type ( #204 )
...
* Set blacklist to std::vector<std::string>
Fix some strange crashes.
Co-authored-by: jackun <jack.un@gmail.com>
4 years ago
jackun
91ccde4969
[blacklist] Add SocialClubHelper.exe
...
No much difference but at least doesn't spam log as much
4 years ago
Valters
6cebbba732
Always print blacklist info to STREAM
4 years ago
Valters
4721281952
Add LeagueClient{,UxRender} to blacklist
4 years ago
jackun
c25082b1dd
Fix blacklist array entries count
4 years ago
jackun
a8f01a75e6
Use std::array for blacklist
...
More annoying to add entries but maybe more streamlined
4 years ago
Sporif
c61d25da04
Simplify 'is_blacklisted' function
4 years ago
jackun
8b13f8db7c
Blacklist Final Fantasy XIV launchers
4 years ago
jackun
79e4c5223a
In C-only apps, std::cerr and friends can be uninitialized
5 years ago
Sporif
c4a00704cf
Separate out blacklist implementation
5 years ago