move electron folder
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user