Skip to content

Commit 21bb889

Browse files
Dillon Bussertdbussert
Dillon Bussert
authored andcommitted
Allow ARM
1 parent 4817866 commit 21bb889

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

install_ffmpeg.js

+3-8
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function win32() {
9999
if (e.code === 'EEXIST') return;
100100
else throw e;
101101
});
102-
102+
103103
const ffmpegFilename = 'ffmpeg-4.x-win64-shared';
104104
await access(`ffmpeg/${ffmpegFilename}`, fs.constants.R_OK).catch(async () => {
105105
const html = await getHTML('https://github.com/BtbN/FFmpeg-Builds/wiki/Latest', 'latest autobuilds');
@@ -180,7 +180,7 @@ async function darwin() {
180180
console.log('Checking for FFmpeg dependencies via HomeBrew.');
181181
let output;
182182
let returnMessage;
183-
183+
184184
try {
185185
output = await exec('brew list ffmpeg');
186186
returnMessage = 'FFmpeg already present via Homebrew.';
@@ -218,12 +218,7 @@ case 'win32':
218218
}
219219
break;
220220
case 'linux':
221-
if (os.arch() != 'x64') {
222-
console.error('Only 64-bit platforms are supported.');
223-
process.exit(1);
224-
} else {
225-
linux();
226-
}
221+
linux();
227222
break;
228223
case 'darwin':
229224
if (os.arch() != 'x64') {

0 commit comments

Comments
 (0)