projecte_ionic/node_modules/zone.js/fesm2015/zone-patch-electron.min.js
2022-02-09 18:30:03 +01:00

13 lines
728 B
JavaScript
Executable file

"use strict";
/**
* @license Angular v12.0.0-next.0
* (c) 2010-2020 Google LLC. https://angular.io/
* License: MIT
*/
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/Zone.__load_patch("electron",(e,r,t)=>{function n(e,r,n){return t.patchMethod(e,r,e=>(r,o)=>e&&e.apply(r,t.bindArguments(o,n)))}const{desktopCapturer:o,shell:l,CallbacksRegistry:c,ipcRenderer:a}=require("electron");o&&n(o,"getSources","electron.desktopCapturer.getSources"),l&&n(l,"openExternal","electron.shell.openExternal"),c?n(c.prototype,"add","CallbackRegistry.add"):a&&n(a,"on","ipcRenderer.on")});