feature update preset pack path for on the menu import preset.

This commit is contained in:
alves
2026-01-04 17:14:50 +08:00
parent 7b23bde61d
commit f8c2084e33

View File

@@ -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文件获取版本信息