Initial Commit
This commit is contained in:
9
electron/src/helpers/window_helpers.ts
Normal file
9
electron/src/helpers/window_helpers.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export async function minimizeWindow() {
|
||||
await window.electronWindow.minimize();
|
||||
}
|
||||
export async function maximizeWindow() {
|
||||
await window.electronWindow.maximize();
|
||||
}
|
||||
export async function closeWindow() {
|
||||
await window.electronWindow.close();
|
||||
}
|
||||
Reference in New Issue
Block a user