Skip to content

Commit e2e702d

Browse files
authored
macOS Sequoia check and housekeeping. (#95)
1 parent 6e5baee commit e2e702d

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

install.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function getDownloadFileName() {
3838

3939
case "darwin":
4040

41-
if(parseInt(os.release()) >= 22) {
41+
if(parseInt(os.release()) >= 24) {
4242

4343
switch(process.arch) {
4444

@@ -68,16 +68,7 @@ async function getDownloadFileName() {
6868

6969
case "x64":
7070

71-
switch(osReleaseEnv.VERSION_ID) {
72-
73-
case "24.04":
74-
75-
return "ffmpeg-ubuntu-24.04-x86_64.tar.gz";
76-
77-
default:
78-
79-
return "ffmpeg-alpine-x86_64.tar.gz";
80-
}
71+
return "ffmpeg-alpine-x86_64.tar.gz";
8172

8273
case "arm":
8374

0 commit comments

Comments
 (0)