mirror of
https://github.com/Grasscutters/Installer.git
synced 2024-11-26 21:50:31 +00:00
Remove unused method
This commit is contained in:
parent
5ad8d86e70
commit
ed020e4eab
@ -45,11 +45,6 @@ async function downloadAndInstall(application, file, installCallback = undefined
|
||||
if(installCallback) await installCallback(`${tempDirectory}/${file}`);
|
||||
}
|
||||
|
||||
async function extractTo(file, destination) {
|
||||
const contents = fs.createReadStream(file);
|
||||
contents.pipe(unzip.Extract({path: destination}));
|
||||
}
|
||||
|
||||
function exit() {
|
||||
console.log("Press any key to return to the main menu.");
|
||||
process.stdin.setRawMode(true);
|
||||
|
Loading…
Reference in New Issue
Block a user