build fails for unsupported os
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
BlockStorage/repertory_mac/pipeline/head This commit looks good

This commit is contained in:
2025-08-12 18:51:17 -05:00
parent beaf4194c2
commit 7299c4e96a

View File

@@ -131,10 +131,12 @@ handlers::handlers(mgmt_app_config *config, httplib::Server *server)
system(fmt::format(R"(xdg-open "http://127.0.0.1:{}/ui")",
config_->get_api_port())
.c_str());
#else // error
#elif defined(__APPLE__)
system(
fmt::format(R"(open "http://127.0.0.1:{}/ui")", config_->get_api_port())
.c_str());
#else
build fails here
#endif
}