mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
chore: update to electron v16
This commit is contained in:
1 parent
98ff7f4fa4
commit
de50d5b42c
5 files changed
+896
-875
No files matched your search
@@ -4,7 +4,7 @@ export abstract class DataService {
|
||||
return !!(window && window.process && (window.process as any).type);
|
||||
}
|
||||
get remote() {
|
||||
return this.isElectron ? window.require('electron').remote : null;
|
||||
return this.isElectron ? window.require('@electron/remote') : null;
|
||||
}
|
||||
get ipcRenderer(): typeof ipcRenderer {
|
||||
return this.isElectron ? window.require('electron').ipcRenderer : null;
|
||||
|
||||
Reference in new issue
Block a user