remove test flag

This commit is contained in:
quaK 2023-05-22 22:54:25 +03:00
parent ce7bbb2e88
commit 89eac38823

View File

@ -27,12 +27,6 @@ namespace steam_proxy
nosteam, nosteam,
error, error,
}; };
bool is_disabled()
{
static const auto disabled = utils::flags::has_flag("nosteam");
return disabled;
}
} }
class component final : public component_interface class component final : public component_interface
@ -91,6 +85,11 @@ namespace steam_proxy
} }
} }
component_priority priority() override
{
return component_priority::steam_proxy;
}
const utils::nt::library& get_overlay_module() const const utils::nt::library& get_overlay_module() const
{ {
return steam_overlay_module_; return steam_overlay_module_;
@ -169,11 +168,6 @@ namespace steam_proxy
//app_id = 480; // Spacewar //app_id = 480; // Spacewar
return ownership_state::unowned; return ownership_state::unowned;
} }
if (is_disabled())
{
return ownership_state::success;
}
this->client_utils_.invoke<void>("SetAppIDForCurrentPipe", app_id, false); this->client_utils_.invoke<void>("SetAppIDForCurrentPipe", app_id, false);