1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-17 05:22:18 +00:00

Fix error message for elevated shell

This commit is contained in:
snobu
2020-04-18 20:19:27 +03:00
parent 41967ab949
commit de8585888f

View File

@@ -23,7 +23,8 @@ export const Error: IError = {
[ERROR_CODE.UNHANDLED_ERROR]: 'Unhandled error!\n' + [ERROR_CODE.UNHANDLED_ERROR]: 'Unhandled error!\n' +
'Timeout or fatal error, please check your downloads directory and try again', 'Timeout or fatal error, please check your downloads directory and try again',
[ERROR_CODE.ELEVATED_SHELL]: 'Running in an elevated shell', [ERROR_CODE.ELEVATED_SHELL]: 'Destreamer cannot run in an elevated (Administrator/root) shell.\n' +
'Please run in a regular, non-elevated window.',
[ERROR_CODE.INVALID_OUTPUT_DIR]: 'Unable to create output directory', [ERROR_CODE.INVALID_OUTPUT_DIR]: 'Unable to create output directory',
@@ -32,7 +33,7 @@ export const Error: IError = {
[ERROR_CODE.UNK_FFMPEG_ERROR]: 'Unknown FFmpeg error', [ERROR_CODE.UNK_FFMPEG_ERROR]: 'Unknown FFmpeg error',
[ERROR_CODE.INVALID_INPUT_URLS]: 'No valid URL in the input', [ERROR_CODE.INVALID_INPUT_URLS]: 'No valid URL from input',
[ERROR_CODE.OUTDIRS_URLS_MISMATCH]: 'Output directories and URLs mismatch!\n' + [ERROR_CODE.OUTDIRS_URLS_MISMATCH]: 'Output directories and URLs mismatch!\n' +
'You must input the same number of URLs and output directories', 'You must input the same number of URLs and output directories',