removed two make_2fs fils that triggered malware bytes for some reason.

This commit is contained in:
Shane Harris
2023-09-04 04:53:23 +02:00
parent 8398759390
commit 26bb54a7e0
+5 -1
View File
@@ -47,7 +47,11 @@ if (!__fs.existsSync(outputPath)) {
__fs.readdir(path.join(__dirname, 'platform-tools'), function(err, files) {
files.forEach(function(file) {
var curPath = path.join(__dirname, 'platform-tools', file);
if (!__fs.lstatSync(curPath).isDirectory()) {
if (
!__fs.lstatSync(curPath).isDirectory() &&
file !== 'make_f2fs.exe' &&
file !== 'make_f2fs_casefold.exe'
) {
__fs.rename(curPath, path.join(outputPath, file), function(err) {
if (err) console.log(err);
});