feat: initialize project scaffold with Electron structure, transcription engine, and dark-themed UI components

This commit is contained in:
Ümit Tunç
2026-04-23 07:40:05 +03:00
parent 89c69114bd
commit 9dfc3ad9bf
14 changed files with 7032 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
"use strict";
const electron = require("electron");
const preload = require("@electron-toolkit/preload");
const api = {
windowControls: (action) => electron.ipcRenderer.send("window-controls", action)
};
if (process.contextIsolated) {
try {
preload.exposeElectronAPI();
electron.contextBridge.exposeInMainWorld("api", api);
} catch (error) {
console.error(error);
}
} else {
window.electron = preload.exposeElectronAPI();
window.api = api;
}