mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
Fix ENOENT on MacOS
This commit is contained in:
@@ -8,10 +8,10 @@ let ffmpegLoc
|
||||
let timings
|
||||
|
||||
if(process.platform === "darwin") {
|
||||
youtubedl.setYtdlBinary("resources/youtube-dl-ml")
|
||||
youtubedl.setYtdlBinary("Contents/resources/youtube-dl-ml")
|
||||
ffmpegLoc = "resources/ffmpeg-ml"
|
||||
} else {
|
||||
youtubedl.setYtdlBinary("resources/youtube-dl.exe")
|
||||
youtubedl.setYtdlBinary("Contents/resources/youtube-dl.exe")
|
||||
ffmpegLoc = "resources/ffmpeg.exe"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user