fix: web subprocesses weren't launching due to parameter's parsing, temporal fix

This commit is contained in:
Almamu 2025-04-21 17:44:01 +02:00
parent 98947b0105
commit d648964ae2

View File

@ -281,7 +281,7 @@ CApplicationContext::CApplicationContext (int argc, char* argv []) :
" Runs the background 2317494988 on two screens, one on HDMI-1 and the other on HDMI-2\n\n"
);
program.parse_args (argc, argv);
program.parse_known_args (argc, argv);
this->settings.audio.volume = std::max(0, std::min (this->settings.audio.volume, 128));
this->settings.screenshot.delay = std::max (0, std::min (this->settings.screenshot.delay, 5));