I made a launcher for a game on linux and i work with environment variables as a 'settings' file, that i store information about what variables the user selected in the UI to use, right now in my .json file i can't just include 'gamemode' since it exposes no value so in the end it just doesnt works
we read this .json file to tick or untick boxes in the UI at launch, i dont want to create another config file just to set gamemode to on or off
another way to solve my issue is if you guys by default blocklisted processes like "RiotClientServices.exe" and "LeagueClient.exe" on your code, that way only the leagueoflegends.exe process would be "boosted"
but then would gamemode attach itself to the leagueoflegends.exe that is launched later by the leagueclient.exe or it would become useless?
the plan would be to when the gamemode tick box is unchecked we remove gamemode completely from the json file instead of setting it to "0"
I made a launcher for a game on linux and i work with environment variables as a 'settings' file, that i store information about what variables the user selected in the UI to use, right now in my .json file i can't just include 'gamemode' since it exposes no value so in the end it just doesnt works
here is the example: https://github.com/kassindornelles/lol-for-linux-installer/blob/main/src/env_vars.json
we read this .json file to tick or untick boxes in the UI at launch, i dont want to create another config file just to set gamemode to on or off
another way to solve my issue is if you guys by default blocklisted processes like "RiotClientServices.exe" and "LeagueClient.exe" on your code, that way only the leagueoflegends.exe process would be "boosted"
but then would gamemode attach itself to the leagueoflegends.exe that is launched later by the leagueclient.exe or it would become useless?
the plan would be to when the gamemode tick box is unchecked we remove gamemode completely from the json file instead of setting it to "0"