mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-24 01:13:19 +03:00
Fixed bug that prevented updates from succeeding
This commit is contained in:
@@ -313,7 +313,7 @@ async function downloadReleaseFiles(tag) {
|
|||||||
logger.info(`Installing update ${tag}...`)
|
logger.info(`Installing update ${tag}...`)
|
||||||
|
|
||||||
// downloads new package.json and adds new public dir files from the downloaded zip
|
// downloads new package.json and adds new public dir files from the downloaded zip
|
||||||
fs.createReadStream(path.join(__dirname, `youtubedl-material-latest-release-${tag}.zip`)).pipe(unzipper.Parse())
|
fs.createReadStream(path.join(__dirname, `youtubedl-material-release-${tag}.zip`)).pipe(unzipper.Parse())
|
||||||
.on('entry', function (entry) {
|
.on('entry', function (entry) {
|
||||||
var fileName = entry.path;
|
var fileName = entry.path;
|
||||||
var type = entry.type; // 'Directory' or 'File'
|
var type = entry.type; // 'Directory' or 'File'
|
||||||
|
|||||||
Reference in New Issue
Block a user