t-ho / ngx-gravatar

Angular Gravatar Directive

Home Page:https://tdev.app/ngx-gravatar/demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Electron issue

mstojevski opened this issue · comments

When used with combination of electron and angular, there is issue with protocol.
It is not set to neither https or http but "//" and image can't be downloaded.

when I try to use background get an error.
this is ok:
win = new electron_1.BrowserWindow({
x: 0,
y: 0,
width: size.width,
height: size.height,
webPreferences: {
nodeIntegration: true,
},
});
Error here
win = new electron_1.BrowserWindow({
x: 0,
y: 0,
width: size.width,
height: size.height,
backgroundColor: '#2e2c29', // windows will not load after this
webPreferences: {
nodeIntegration: true,
},
});

@mstojevski @OwnedTom Would you mind making a pull request with your fix?

commented

I have updated the lib.