add isLTS attribute to the loading line for react-native

This commit is contained in:
Taner Sener 2021-11-10 00:10:57 +00:00
parent 67a2e1ad7c
commit 79cd1ce0b1

View File

@ -1710,8 +1710,9 @@ class FFmpegKitInitializer {
const arch = await ArchDetect.getArch(); const arch = await ArchDetect.getArch();
const packageName = await Packages.getPackageName(); const packageName = await Packages.getPackageName();
await FFmpegKitConfig.enableRedirection(); await FFmpegKitConfig.enableRedirection();
const isLTSPostfix = (await FFmpegKitConfig.isLTSBuild()) ? "-lts" : "";
console.log(`Loaded ffmpeg-kit-react-native-${platform}-${packageName}-${arch}-${version}.`); console.log(`Loaded ffmpeg-kit-react-native-${platform}-${packageName}-${arch}-${version}${isLTSPostfix}.`);
} }
} }