feat: adding logging to steam copy

This commit is contained in:
Chubby Granny Chaser
2025-05-14 10:58:40 +01:00
parent 5c7a289299
commit 8c16779052

View File

@@ -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);