mirror of
https://github.com/JustusPlays78/SectorFileUpdater.git
synced 2025-04-29 19:24:24 +00:00
Issue makiert
This commit is contained in:
parent
e9a54c4de5
commit
a9cd26e770
@ -40,7 +40,7 @@ function downloadFile(source) {
|
|||||||
.on('finish', function() {
|
.on('finish', function() {
|
||||||
// Code to extract file
|
// Code to extract file
|
||||||
fs.createReadStream(`${startpath}/${zipFile}`)
|
fs.createReadStream(`${startpath}/${zipFile}`)
|
||||||
.pipe(unzipper.Extract({ path: `${startpath}/${region}/${airacversion}_v${releaseversion}` }))
|
.pipe(unzipper.Extract({ path: `${startpath}/${region}/${airacversion}_v${releaseversion}` }))/*Der Packagename fehlt noch*/
|
||||||
.on('finish', function() {
|
.on('finish', function() {
|
||||||
// console.log("Decompressed successfully.");
|
// console.log("Decompressed successfully.");
|
||||||
fs.rename(`${startpath}/${zipFile}`, `${startpath}/zipfiles/${zipFile}`, (err) => {
|
fs.rename(`${startpath}/${zipFile}`, `${startpath}/zipfiles/${zipFile}`, (err) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user