if(!haveCustomFfPath)runStartupCheck().catch((err)=>handleError('LosslessCut is installation is broken',err));
if(!haveCustomFfPath){
(async()=>{
try{
awaitrunStartupCheck();
}catch(err){
if(['EPERM','EACCES'].includes(err.code)){
toast.fire({
timer:30000,
icon:'error',
title:'Fatal: ffmpeg not accessible',
text:`Got ${err.code}. This probably means that anti-virus is blocking execution of ffmpeg. Please make sure the following file exists and is executable:\n\n${getFfmpegPath()}\n\nSee this issue: https://github.com/mifi/lossless-cut/issues/1114`,