mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Changed permissions for yt-dlp
This commit is contained in:
parent
3baee6b618
commit
cdf7446647
@ -39,7 +39,7 @@ async function downloadYtDlp() {
|
|||||||
|
|
||||||
writer.on('finish', () => {
|
writer.on('finish', () => {
|
||||||
if (os.platform() !== 'win32') {
|
if (os.platform() !== 'win32') {
|
||||||
fs.chmodSync(filePath, '755');
|
fs.chmodSync(filePath, '-x');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user