File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ class BinaryUpdater {
88
88
switch ( process . platform ) {
89
89
case "win32" :
90
90
return "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe" ;
91
+ case "darwin" :
92
+ return "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos" ;
91
93
default :
92
94
return "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp" ;
93
95
}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class Filepaths {
56
56
this . packedPrefix = this . appPath ;
57
57
this . unpackedPrefix = this . appPath + ".unpacked" ;
58
58
this . ffmpeg = this . app . isPackaged ? path . join ( this . unpackedPrefix , "binaries" ) : "binaries" ;
59
- this . ytdl = this . app . isPackaged ? path . join ( this . unpackedPrefix , "binaries/yt-dlp-unix " ) : "binaries/yt-dlp-unix " ;
59
+ this . ytdl = this . app . isPackaged ? path . join ( this . unpackedPrefix , "binaries/yt-dlp_macos " ) : "binaries/yt-dlp_macos " ;
60
60
this . icon = this . app . isPackaged ? path . join ( this . packedPrefix , "renderer/img/icon.png" ) : "renderer/img/icon.png" ;
61
61
this . settings = this . app . isPackaged ? path . join ( this . unpackedPrefix , "userSettings" ) : "userSettings" ;
62
62
this . taskList = this . app . isPackaged ? path . join ( this . unpackedPrefix , "taskList" ) : "taskList" ;
You can’t perform that action at this time.
0 commit comments