From cd8f42327c2e861a73bf4b3226d2503e3a885ec3 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Tue, 23 Apr 2024 09:56:45 +0200 Subject: [PATCH] remove logging --- electron/osuUtil.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/electron/osuUtil.js b/electron/osuUtil.js index 4f37e6e..e116608 100644 --- a/electron/osuUtil.js +++ b/electron/osuUtil.js @@ -274,7 +274,6 @@ async function downloadEZPPLauncherUpdateFiles(osuPath, updateFiles, allFiles) { //NOTE: delete files that are not in the updateFiles array const foldersToPrune = allFiles.map(file => path.dirname(path.join(osuPath, ...file.folder.split("/"), file.name))).filter((folder, index, self) => self.indexOf(folder) === index); for (const pruneFolder of foldersToPrune) { - console.log("Pruning folder:", pruneFolder); //NOTE: check if the folder is not the osu root folder. if (path.basename(pruneFolder) == "osu!") continue; @@ -284,8 +283,6 @@ async function downloadEZPPLauncherUpdateFiles(osuPath, updateFiles, allFiles) { const validFolder = allFiles.find(file => path.dirname(filePath).endsWith(file.folder)); if (!validFolder) { if (allFiles.find(file => file.name == path.basename(filePath)) === undefined) { - console.log("Deleting file:", filePath); - console.log(allFiles.find(file => file.name == path.basename(filePath))); eventEmitter.emit("data", { fileName: path.basename(filePath), });