mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
adding mkdir for backup path
This commit is contained in:
parent
bcbe6c9619
commit
b99dbe83e2
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ const downloadGameArtifact = async (
|
|||
throw err;
|
||||
});
|
||||
|
||||
fs.mkdirSync(backupPath, { recursive: true });
|
||||
|
||||
writer.on("close", () => {
|
||||
tar
|
||||
.x({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue