From 8c167790524ac451dcabf8a435fb0ef119998fb2 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Wed, 14 May 2025 10:58:40 +0100 Subject: [PATCH] feat: adding logging to steam copy --- src/main/events/library/create-steam-shortcut.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/events/library/create-steam-shortcut.ts b/src/main/events/library/create-steam-shortcut.ts index ec408447..faa69266 100644 --- a/src/main/events/library/create-steam-shortcut.ts +++ b/src/main/events/library/create-steam-shortcut.ts @@ -68,6 +68,7 @@ const copyAssetIfExists = async ( destinationPath: string ) => { if (sourcePath && fs.existsSync(sourcePath)) { + logger.info("Copying Steam asset", sourcePath, destinationPath); await fs.promises.cp(sourcePath, destinationPath); } }; @@ -143,8 +144,6 @@ const createSteamShortcut = async ( ), ]); - fs.mkdirSync(gridPath, { recursive: true }); - steamShortcuts.push(newShortcut); logger.info(newShortcut);