initial commit

This commit is contained in:
Илья Глазунов
2026-01-14 22:57:19 +03:00
commit beb9034cd4
50 changed files with 17257 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
export async function resizeLayout() {
try {
if (window.require) {
const { ipcRenderer } = window.require('electron');
const result = await ipcRenderer.invoke('update-sizes');
if (result.success) {
console.log('Window resized for current view');
} else {
console.error('Failed to resize window:', result.error);
}
}
} catch (error) {
console.error('Error resizing window:', error);
}
}