10 lines
296 B
TypeScript
10 lines
296 B
TypeScript
|
import { BrowserWindow } from "electron";
|
||
|
import serve from "electron-serve";
|
||
|
import path from "path";
|
||
|
|
||
|
let customScheme = serve({ directory: path.resolve(__dirname, "..", "local-app", "dist") });
|
||
|
|
||
|
export async function loadCustomScheme(window: BrowserWindow) {
|
||
|
await customScheme(window);
|
||
|
}
|