Skip to content

Commit

Permalink
macOS Sequoia check and housekeeping. (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd authored Oct 14, 2024
1 parent 6e5baee commit e2e702d
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function getDownloadFileName() {

case "darwin":

if(parseInt(os.release()) >= 22) {
if(parseInt(os.release()) >= 24) {

switch(process.arch) {

Expand Down Expand Up @@ -68,16 +68,7 @@ async function getDownloadFileName() {

case "x64":

switch(osReleaseEnv.VERSION_ID) {

case "24.04":

return "ffmpeg-ubuntu-24.04-x86_64.tar.gz";

default:

return "ffmpeg-alpine-x86_64.tar.gz";
}
return "ffmpeg-alpine-x86_64.tar.gz";

case "arm":

Expand Down

0 comments on commit e2e702d

Please sign in to comment.