Add support for wivrn:// intent
Launching with wivrn://address will directly connect to given address, bypassing mDNS service discovery
This commit is contained in:
@@ -282,6 +282,8 @@ class application
|
||||
bool debug_extensions_found = false;
|
||||
std::atomic<bool> exit_requested = false;
|
||||
|
||||
std::string server_address;
|
||||
|
||||
std::mutex scene_stack_lock;
|
||||
std::vector<std::shared_ptr<scene>> scene_stack;
|
||||
std::shared_ptr<scene> last_scene;
|
||||
@@ -434,4 +436,9 @@ public:
|
||||
{
|
||||
return instance_->vk_queue_family_index;
|
||||
}
|
||||
|
||||
const std::string& get_server_address() const
|
||||
{
|
||||
return server_address;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user