// Note: For notifications on macOS, your application will need to be code-signed in order for notification events to emit correctly. This requirement stems from the underlying UNNotification API provided by Apple. Unsigned binaries will emit a `failed` event when notification APIs are called.
// Note: MAS only allows fs.stat (pathExists) if we don't have access to input dir yet
// Note: MAS doesn't allow anything else than fs.access before the user has granted our app access to input dir
if(!(awaitmainApi.pathExists(mediaFilePath))){
errorToast(i18n.t('The media file referenced by the project file you tried to open does not exist in the same directory as the project file: {{mediaFileName}}',{mediaFileName}));