aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/skype/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/skype/webview.js')
-rw-r--r--recipes/skype/webview.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/skype/webview.js b/recipes/skype/webview.js
index 4d5292d..2d2ba41 100644
--- a/recipes/skype/webview.js
+++ b/recipes/skype/webview.js
@@ -3,6 +3,15 @@
3const { remote: { BrowserWindow } } = require("electron"); 3const { remote: { BrowserWindow } } = require("electron");
4const path = require('path'); 4const path = require('path');
5 5
6const nameDescriptor = Object.getOwnPropertyDescriptor(Plugin.prototype, 'name');
7const getName = nameDescriptor.get;
8Object.defineProperty(Plugin.prototype, 'name', {
9 ...nameDescriptor,
10 get() {
11 return getName.call(this).replace('Chromium', 'Chrome');
12 }
13});
14
6module.exports = (Franz, settings) => { 15module.exports = (Franz, settings) => {
7 const getMessages = function getMessages() { 16 const getMessages = function getMessages() {
8 let count = 0; 17 let count = 0;