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