mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 22:06:17 +00:00
feat: adding logging to steam copy
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user