diff --git a/lib/services/download.dart b/lib/services/download.dart index 8b64058..a0600eb 100644 --- a/lib/services/download.dart +++ b/lib/services/download.dart @@ -59,6 +59,10 @@ class DLServices { }); ytDlpPath = tempFile.path; + + if (Platform.isLinux || Platform.isMacOS) { + await Process.run('chmod', ['+x', ytDlpPath]); + } } Future downloadFile(Video video) async {