Rename '.bbscfg/bbsflmt' to 'orca_printer/orca_filament' for clarity and to reduce user errors. Note: Configs may no longer be compatible with BS hence the change

This commit is contained in:
SoftFever 2023-12-29 23:36:28 +08:00
parent ec9030e0ef
commit d5210c9fc9
20 changed files with 3181 additions and 2845 deletions

View file

@ -675,7 +675,7 @@ PresetsConfigSubstitutions PresetBundle::import_presets(std::vector<std::string>
import_json_presets(substitutions, file, override_confirm, rule, overwrite, result);
}
// Determine if it is a preset bundle
if (boost::iends_with(file, ".bbscfg") || boost::iends_with(file, ".bbsflmt") || boost::iends_with(file, ".zip")) {
if (boost::iends_with(file, ".orca_printer") || boost::iends_with(file, ".orca_filament") || boost::iends_with(file, ".zip")) {
boost::system::error_code ec;
// create user folder
fs::path user_folder(data_dir() + "/" + PRESET_USER_DIR);