mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Remove isElectron
This commit is contained in:
5 files changed
+4
-13
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user