Release: use independent component repositories
This commit is contained in:
1 parent
2fba7d2dea
commit
8f7ae36e0f
5 files changed
+47
-7
No files matched your search
+2
-5
@@ -720,7 +720,7 @@ int main(int argc, char** argv)
|
||||
|
||||
const auto updaterExecutable =
|
||||
runningExecutable->parent_path() / "echoion-updater";
|
||||
auto updateService = std::make_unique<Echoion::Standalone::UpdateService>(
|
||||
auto updateService = std::make_shared<Echoion::Standalone::UpdateService>(
|
||||
Echoion::Standalone::UpdateService::Options{
|
||||
.configPath = cfgPath,
|
||||
.stateDirectory = stateDirectory,
|
||||
@@ -784,10 +784,7 @@ int main(int argc, char** argv)
|
||||
updateService.reset();
|
||||
} else {
|
||||
interface->setHostControlHandler(
|
||||
[service = updateService.get()](const std::string& method,
|
||||
const std::string& request) {
|
||||
return service->handle(method, request);
|
||||
});
|
||||
Echoion::Standalone::bindUpdateService(updateService));
|
||||
}
|
||||
|
||||
core->triggerAutoConnect();
|
||||
|
||||
Reference in new issue
Block a user