2024-10-04 11:15:54 +02:00
|
|
|
const ELECTRON_COMMANDS = {
|
2022-08-22 10:31:16 +02:00
|
|
|
SELECT_FILE: "Select a File",
|
2022-08-29 15:41:59 +02:00
|
|
|
SELECT_FOLDER: "Select a Folder",
|
2022-08-22 10:31:16 +02:00
|
|
|
UPSCAYL: "Upscale the Image",
|
|
|
|
UPSCAYL_DONE: "Upscaling Done",
|
|
|
|
UPSCAYL_PROGRESS: "Send Progress from Main to Renderer",
|
2022-09-17 11:40:47 +02:00
|
|
|
DOUBLE_UPSCAYL: "Double Upscale the Image",
|
|
|
|
DOUBLE_UPSCAYL_DONE: "Double Upscaling Done",
|
|
|
|
DOUBLE_UPSCAYL_PROGRESS: "Send Double Upscayl Progress from Main to Renderer",
|
2022-09-18 10:08:55 +02:00
|
|
|
FOLDER_UPSCAYL: "Upscale a Folder",
|
|
|
|
FOLDER_UPSCAYL_DONE: "Folder upscaling successful",
|
|
|
|
FOLDER_UPSCAYL_PROGRESS:
|
|
|
|
"Send Folder Upscaling Progress from Main to Renderer",
|
2022-09-18 16:30:03 +02:00
|
|
|
OPEN_FOLDER: "Open Folder",
|
2022-11-25 07:54:30 +01:00
|
|
|
UPSCAYL_VIDEO: "Upscale the Video",
|
|
|
|
UPSCAYL_VIDEO_DONE: "Video Upscaling Done",
|
|
|
|
UPSCAYL_VIDEO_PROGRESS: "Send Video Upscale Progress from Main to Renderer",
|
2022-12-04 01:59:16 +01:00
|
|
|
FFMPEG_VIDEO_DONE: "Ran FFMpeg successfully",
|
|
|
|
FFMPEG_VIDEO_PROGRESS: "Running FFMpeg for frame extraction",
|
2023-04-09 07:48:53 +02:00
|
|
|
SELECT_CUSTOM_MODEL_FOLDER: "Select a Custom Model Folder",
|
|
|
|
GET_MODELS_LIST: "Send models list from main to renderer",
|
|
|
|
CUSTOM_MODEL_FILES_LIST: "Send custom model files list to renderer",
|
2023-04-14 12:31:37 +02:00
|
|
|
LOG: "Log",
|
2023-04-28 20:21:42 +02:00
|
|
|
STOP: "Stop the current operation",
|
2023-08-14 12:55:30 +02:00
|
|
|
OS: "Get OS",
|
2023-09-09 12:13:16 +02:00
|
|
|
SCALING_AND_CONVERTING: "Adding some finishing touches",
|
|
|
|
UPSCAYL_ERROR: "Upscaling Error",
|
2024-10-05 11:53:35 +02:00
|
|
|
PASTE_IMAGE: "Paste Image from clipboard",
|
|
|
|
PASTE_IMAGE_SAVE_SUCCESS: "Clipboard Image saved successfully",
|
|
|
|
PASTE_IMAGE_SAVE_ERROR: "Clipboard Image save failed",
|
2024-10-04 11:15:54 +02:00
|
|
|
} as const;
|
2022-08-22 10:31:16 +02:00
|
|
|
|
2024-10-04 11:15:54 +02:00
|
|
|
export { ELECTRON_COMMANDS };
|