Remove isElectron

This commit is contained in:
Alex Gleason committed 2025-10-25 01:28:19 -05:00
1 parent 4bd48a65bb
commit 130cb7055a
5 files changed
+4 -13

No files matched your search

-3
View File
@@ -9,9 +9,6 @@ contextBridge.exposeInMainWorld('electron', {
// App version
version: () => ipcRenderer.invoke('get-app-version'),
// Flag to indicate we're running in Electron
isElectron: true,
// Filesystem API - paths support tilde (~) expansion for home directory
fs: {
readFile: (path, encoding) => ipcRenderer.invoke('fs:readFile', path, encoding),