From 457b847aeeaf5e0a14aa4e387d4bb64bd0b1bddb Mon Sep 17 00:00:00 2001 From: SoftFever Date: Sun, 29 Oct 2023 10:31:26 +0800 Subject: [PATCH] Remove `BambuStudio-SoftFever` migration code --- src/slic3r/GUI/GUI_App.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 43deab6482d..808f5af20ed 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2096,15 +2096,7 @@ void GUI_App::init_app_config() data_dir_path = boost::filesystem::path(data_dir()); #endif if (!boost::filesystem::exists(data_dir_path)){ - auto older_data_dir = data_dir_path.parent_path() / "BambuStudio-SoftFever"; - if(boost::filesystem::exists(older_data_dir)){ - copy_directory_recursively(older_data_dir,data_dir_path); - boost::system::error_code ec; - boost::filesystem::rename(data_dir_path / "BambuStudio.conf", data_dir_path / "OrcaSlicer.conf", ec); - boost::filesystem::rename(data_dir_path / "BambuStudio.conf.bak", data_dir_path / "OrcaSlicer.conf.bak", ec); - } - else - boost::filesystem::create_directory(data_dir_path); + boost::filesystem::create_directory(data_dir_path); } } else { m_datadir_redefined = true;