added caching for mica effect, improving startup time
This commit is contained in:
parent
2be877179d
commit
2edbc243d0
2 changed files with 31 additions and 8 deletions
|
@ -622,7 +622,10 @@ export class BrowserWindow {
|
|||
const wpBase64: string = await readFileSync(wpPath, 'base64')
|
||||
// add the data:image properties
|
||||
const wpData: string = `data:image/png;base64,${wpBase64}`
|
||||
event.returnValue = wpData;
|
||||
event.returnValue = {
|
||||
path: wpPath,
|
||||
data: wpData
|
||||
};
|
||||
})
|
||||
|
||||
ipcMain.handle("reinstall-widevine-cdm", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue