mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-18 06:17:21 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
21 lines
747 B
JavaScript
21 lines
747 B
JavaScript
import { contextBridge, ipcRenderer } from "electron";
|
|
|
|
contextBridge.exposeInMainWorld("aeBridge", {
|
|
startWatcher: (dir) => ipcRenderer.invoke("watcher:start", dir),
|
|
stopWatcher: () => ipcRenderer.invoke("watcher:stop"),
|
|
|
|
togglePin: () => ipcRenderer.invoke("window:toggle-pin"),
|
|
isPinned: () => ipcRenderer.invoke("window:is-pinned"),
|
|
close: () => ipcRenderer.invoke("window:close"),
|
|
minimize: () => ipcRenderer.invoke("window:minimize"),
|
|
maximize: () => ipcRenderer.invoke("window:maximize"),
|
|
|
|
onClipboardAlert: (callback) => {
|
|
ipcRenderer.on("sentinel:clipboard-alert", (_event, payload) =>
|
|
callback(payload)
|
|
);
|
|
return () => {
|
|
ipcRenderer.removeAllListeners("sentinel:clipboard-alert");
|
|
};
|
|
},
|
|
});
|