Fix launching remote input only with UUID
This commit is contained in:
@@ -1162,7 +1162,7 @@ namespace nvhttp {
|
|||||||
auto appid = util::from_view(appid_str);
|
auto appid = util::from_view(appid_str);
|
||||||
auto current_appid = proc::proc.running();
|
auto current_appid = proc::proc.running();
|
||||||
auto current_app_uuid = proc::proc.get_running_app_uuid();
|
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 named_cert_p = get_verified_cert(request);
|
||||||
auto perm = PERM::launch;
|
auto perm = PERM::launch;
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ namespace proc {
|
|||||||
void proc_t::launch_input_only() {
|
void proc_t::launch_input_only() {
|
||||||
_app_id = input_only_app_id;
|
_app_id = input_only_app_id;
|
||||||
_app_name = "Remote Input";
|
_app_name = "Remote Input";
|
||||||
|
_app.uuid = REMOTE_INPUT_UUID;
|
||||||
allow_client_commands = false;
|
allow_client_commands = false;
|
||||||
placebo = true;
|
placebo = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user