2023-07-28 02:32:18 +02:00
|
|
|
import { app, BrowserWindow } from "electron";
|
|
|
|
|
2023-07-28 02:46:49 +02:00
|
|
|
const pathToFfmpeg = require("ffmpeg-static");
|
|
|
|
|
2023-07-28 02:32:18 +02:00
|
|
|
const createWindow = () => {
|
|
|
|
const win = new BrowserWindow({
|
|
|
|
width: 800,
|
|
|
|
height: 600,
|
|
|
|
});
|
|
|
|
|
|
|
|
win.loadFile("../index.html");
|
|
|
|
};
|
|
|
|
|
|
|
|
app.whenReady().then(() => {
|
2023-07-28 02:46:49 +02:00
|
|
|
/* console.log(pathToFfmpeg); */
|
2023-07-28 02:32:18 +02:00
|
|
|
createWindow();
|
|
|
|
});
|