diff --git a/SHRPTOOLS.cpp b/SHRPTOOLS.cpp index 84916b6a7..954ade98e 100644 --- a/SHRPTOOLS.cpp +++ b/SHRPTOOLS.cpp @@ -31,9 +31,9 @@ bool minUtils::compare(string str1,string str2){ } bool minUtils::isFileEditable(string fileExtension){ - vector extensions = {".txt",".xml",".prop",".sh"}; + vector extensions = {".txt", ".xml", ".prop", ".sh", ".conf", ".json", ".cfg", ".rc", ".d", ".md"}; - if(fileExtension == "") return true; + if(fileExtension == "" || fileExtension == "none") return true; for(auto it = extensions.begin(); it < extensions.end(); it++){ if(compare(fileExtension, *it)) return true;