mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
adding mkdir for backup path
This commit is contained in:
parent
bcbe6c9619
commit
b99dbe83e2
@ -94,6 +94,8 @@ const downloadGameArtifact = async (
|
||||
throw err;
|
||||
});
|
||||
|
||||
fs.mkdirSync(backupPath, { recursive: true });
|
||||
|
||||
writer.on("close", () => {
|
||||
tar
|
||||
.x({
|
||||
|
Loading…
Reference in New Issue
Block a user