From f8c2084e3337a34d6b8081174b56b8fcdeddaee7 Mon Sep 17 00:00:00 2001 From: alves Date: Sun, 4 Jan 2026 17:14:50 +0800 Subject: [PATCH] feature update preset pack path for on the menu import preset. --- src/slic3r/Utils/PresetUpdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/Utils/PresetUpdater.cpp b/src/slic3r/Utils/PresetUpdater.cpp index 6803f141e7..e1e30afda2 100644 --- a/src/slic3r/Utils/PresetUpdater.cpp +++ b/src/slic3r/Utils/PresetUpdater.cpp @@ -1930,7 +1930,7 @@ void PresetUpdater::import_system_profile() } // 遍历解压的文件夹 - for (auto& dir_entry : boost::filesystem::directory_iterator(temp_path / "profiles")) { + for (auto& dir_entry : boost::filesystem::directory_iterator(temp_path)) { if (dir_entry.path().extension() == ".json") { try { // 读取json文件获取版本信息