mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-29 13:51:02 +00:00
adding mkdir for backup path
This commit is contained in:
@@ -94,6 +94,8 @@ const downloadGameArtifact = async (
|
|||||||
throw err;
|
throw err;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
fs.mkdirSync(backupPath, { recursive: true });
|
||||||
|
|
||||||
writer.on("close", () => {
|
writer.on("close", () => {
|
||||||
tar
|
tar
|
||||||
.x({
|
.x({
|
||||||
|
|||||||
Reference in New Issue
Block a user