Skip to content

Commit

Permalink
Correction of bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinKhmer committed Jul 2, 2022
1 parent 0aca6e4 commit 1696e37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const rl = readline.createInterface(process.stdin, process.stdout);
await superagent
.get(`https://api.urancity.ml/client`)
.set("User-Agent", "UranCityInstaller/1.1.0")
.retry(0)
.retry(10)
).body;

// Define paths
Expand Down Expand Up @@ -186,7 +186,7 @@ const rl = readline.createInterface(process.stdin, process.stdout);
await wait();

fs.renameSync(
path.join(process.env.APPDATA, "Installer-main"),
path.join(process.env.APPDATA, "Client-main"),
paths.urancity
);
},
Expand Down Expand Up @@ -386,6 +386,7 @@ const rl = readline.createInterface(process.stdin, process.stdout);
}
await wait();
cliBar.update(100);
console.clear();
}
}

Expand Down

0 comments on commit 1696e37

Please sign in to comment.