diff --git a/Libraries/LibDesktop/Launcher.cpp b/Libraries/LibDesktop/Launcher.cpp index 959af2a2120..74887b86ed4 100644 --- a/Libraries/LibDesktop/Launcher.cpp +++ b/Libraries/LibDesktop/Launcher.cpp @@ -47,7 +47,6 @@ private: LaunchServerConnection() : IPC::ServerConnection(*this, "/tmp/portal/launch") { - } virtual void handle(const Messages::LaunchClient::Dummy&) override {} }; @@ -55,18 +54,6 @@ private: bool Launcher::open(const URL& url) { auto connection = LaunchServerConnection::construct(); - - if (url.protocol() == "file") { - // Make the path fully qualified - LaunchServer won't know our cwd - char* path = realpath(url.path().characters(), nullptr); - if (path == nullptr) { - return false; - } - auto fully_qualified = URL::create_with_file_protocol(path); - free(path); - - return connection->send_sync(fully_qualified.to_string()); - } return connection->send_sync(url.to_string()); }