Added loadJSFrontend
This commit is contained in:
parent
6638e2dc04
commit
e2a8b803e5
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ export class utils {
|
||||||
return bw.win
|
return bw.win
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static loadJSFrontend(path: string): void {
|
||||||
|
bw.win.webContents.executeJavaScript(fs.readFileSync(path, "utf8"));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Playback Functions
|
* Playback Functions
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue