Fix launching remote input only with UUID

This commit is contained in:
Yukino Song
2025-06-03 01:21:30 +08:00
parent d5042e4277
commit e52176707f
2 changed files with 2 additions and 1 deletions

View File

@@ -1162,7 +1162,7 @@ namespace nvhttp {
auto appid = util::from_view(appid_str);
auto current_appid = proc::proc.running();
auto current_app_uuid = proc::proc.get_running_app_uuid();
bool is_input_only = config::input.enable_input_only_mode && appid == proc::input_only_app_id;
bool is_input_only = config::input.enable_input_only_mode && (appid == proc::input_only_app_id || (appuuid_str == REMOTE_INPUT_UUID));
auto named_cert_p = get_verified_cert(request);
auto perm = PERM::launch;

View File

@@ -165,6 +165,7 @@ namespace proc {
void proc_t::launch_input_only() {
_app_id = input_only_app_id;
_app_name = "Remote Input";
_app.uuid = REMOTE_INPUT_UUID;
allow_client_commands = false;
placebo = true;