remove test flag
This commit is contained in:
parent
ce7bbb2e88
commit
89eac38823
@ -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_;
|
||||||
@ -170,11 +169,6 @@ namespace steam_proxy
|
|||||||
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);
|
||||||
|
|
||||||
char our_directory[MAX_PATH] = { 0 };
|
char our_directory[MAX_PATH] = { 0 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user