diff --git a/src/api/window.ts b/src/api/window.ts index 6464390..a8ab729 100644 --- a/src/api/window.ts +++ b/src/api/window.ts @@ -39,6 +39,10 @@ export function unminimize(): Promise { return sendMessage('window.unminimize'); }; +export function isMinimized(): Promise { + return sendMessage('window.isMinimized'); +}; + export function setFullScreen(): Promise { return sendMessage('window.setFullScreen'); };