Fix connection issues with CC2 on Linux (#14024)

This commit is contained in:
anjis
2026-06-05 21:15:52 +08:00
committed by GitHub
parent 72f7b125c6
commit 1469576dec
5 changed files with 267 additions and 287 deletions

View File

@@ -405,7 +405,7 @@ namespace Slic3r {
if (classify_printer_model(config->opt_string("printer_model")) != ElegooPrinterType::CC2)
return fallback_webui;
std::string web_path = resources_dir() + "/plugins/elegoolink/web/lan_service_web/index.html";
std::string web_path = resources_dir() + "/web/elegoolink/lan_service_web/index.html";
std::replace(web_path.begin(), web_path.end(), '\\', '/');
web_path = "file://" + web_path;