Skip to content

Commit

Permalink
removed two make_2fs fils that triggered malware bytes for some reason.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Harris committed Sep 4, 2023
1 parent 8398759 commit 26bb54a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion electron/platform-tools.ts
Expand Up @@ -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);
});
Expand Down

0 comments on commit 26bb54a

Please sign in to comment.