2022-02-20 20:30:53 +01:00
|
|
|
import { BrowserWindow } from "electron";
|
|
|
|
import serve from "electron-serve";
|
|
|
|
import path from "path";
|
|
|
|
|
2022-02-22 10:49:35 +01:00
|
|
|
const customScheme = serve({ directory: path.resolve(__dirname, "..", "local-app", "dist") });
|
2022-02-20 20:30:53 +01:00
|
|
|
|
|
|
|
export async function loadCustomScheme(window: BrowserWindow) {
|
|
|
|
await customScheme(window);
|
|
|
|
}
|