TagSpaces is an offline, open source, document manager with tagging support
fix: reintroducing old electron remote module due to builds issues with electron
Ilian Sapundshiev5643274792b2
diff --git a/app/services/electron-io.ts b/app/services/electron-io.tsindex 0888ff527..c48e61645 100644--- a/app/services/electron-io.ts+++ b/app/services/electron-io.ts@@ -63,7 +63,7 @@ export default class ElectronIO {this.electron = window.require('electron');this.ipcRenderer = this.electron.ipcRenderer;this.webFrame = this.electron.webFrame;- this.remote = window.require('@electron/remote'); // this.electron.remote;+ this.remote = this.electron.remote; // window.require('@electron/remote'); // this.electron.remote;this.workerWindow = this.remote.getGlobal('splashWorkerWindow');this.win = this.remote.getCurrentWindow();this.app = this.remote.app;