patch_manager: warning for incompatible patches (#8535)
* patch_manager: warning for incompatible patches This will open a warning dialog whenever the patch manager is opened and incompatible patches are detected. * Apply suggestions from code review Co-authored-by: Bird Egop <sampletext32@bk.ru> Co-authored-by: Bird Egop <sampletext32@bk.ru>
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
LOG_CHANNEL(patch_log);
|
||||
|
||||
static const std::string patch_engine_version = "1.2";
|
||||
|
||||
namespace config_key
|
||||
{
|
||||
static const std::string enable_legacy_patches = "Enable Legacy Patches";
|
||||
@@ -84,6 +82,11 @@ std::string patch_engine::get_patch_config_path()
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string patch_engine::get_patches_path()
|
||||
{
|
||||
return fs::get_config_dir() + "patches/";
|
||||
}
|
||||
|
||||
std::string patch_engine::get_imported_patch_path()
|
||||
{
|
||||
return fs::get_config_dir() + "patches/imported_patch.yml";
|
||||
|
||||
Reference in New Issue
Block a user