From 26bb54a7e0ef8b5f213c3d2a49b456a30508041d Mon Sep 17 00:00:00 2001 From: Shane Harris Date: Mon, 4 Sep 2023 04:53:23 +0200 Subject: [PATCH] removed two make_2fs fils that triggered malware bytes for some reason. --- electron/platform-tools.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/electron/platform-tools.ts b/electron/platform-tools.ts index 7b3eaad6..e64a83a6 100644 --- a/electron/platform-tools.ts +++ b/electron/platform-tools.ts @@ -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); });