[linux] add executable permission
This commit is contained in:
parent
fd410fb144
commit
97db4be964
|
|
@ -59,6 +59,10 @@ class DLServices {
|
||||||
});
|
});
|
||||||
|
|
||||||
ytDlpPath = tempFile.path;
|
ytDlpPath = tempFile.path;
|
||||||
|
|
||||||
|
if (Platform.isLinux || Platform.isMacOS) {
|
||||||
|
await Process.run('chmod', ['+x', ytDlpPath]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<Stream> downloadFile(Video video) async {
|
Future<Stream> downloadFile(Video video) async {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue