update core projects
This commit is contained in:
@@ -11,13 +11,15 @@
|
||||
|
||||
ApiClient.getSystemInfo().then(function (systemInfo) {
|
||||
|
||||
if (systemInfo.OperatingSystem == 'Windows') {
|
||||
var operatingSystem = systemInfo.OperatingSystem.toLowerCase();
|
||||
|
||||
if (operatingSystem == 'windows') {
|
||||
view.querySelector('.fldSelectEncoderPathType').classList.add('hide');
|
||||
} else {
|
||||
view.querySelector('.fldSelectEncoderPathType').classList.remove('hide');
|
||||
}
|
||||
|
||||
if (systemInfo.OperatingSystem == 'Windows' && systemInfo.SystemArchitecture != 'Arm') {
|
||||
if (operatingSystem == 'windows' && systemInfo.SystemArchitecture != 'Arm') {
|
||||
|
||||
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="https://ffmpeg.zeranoe.com/builds">https://ffmpeg.zeranoe.com</a>');
|
||||
|
||||
@@ -28,7 +30,7 @@
|
||||
instructions = 'Download FFmpeg 64-Bit Static';
|
||||
}
|
||||
|
||||
} else if (systemInfo.OperatingSystem == 'Linux' && systemInfo.SystemArchitecture != 'Arm') {
|
||||
} else if (operatingSystem == 'linux') {
|
||||
|
||||
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="http://johnvansickle.com/ffmpeg">http://johnvansickle.com/ffmpeg</a>');
|
||||
|
||||
@@ -39,7 +41,7 @@
|
||||
instructions = 'Download x86_64 build';
|
||||
}
|
||||
|
||||
} else if (systemInfo.OperatingSystem == 'Osx' && systemInfo.SystemArchitecture == 'X64') {
|
||||
} else if (operatingSystem == 'osx' && systemInfo.SystemArchitecture == 'X64') {
|
||||
|
||||
view.querySelector('.suggestedLocation').innerHTML = Globalize.translate('FFmpegSuggestedDownload', '<a target="_blank" href="http://evermeet.cx/ffmpeg">http://evermeet.cx/ffmpeg</a>');
|
||||
instructions = 'Download both ffmpeg and ffprobe, and extract them to the same folder.';
|
||||
|
||||
Reference in New Issue
Block a user