Set MPV path from local settings file

This commit is contained in:
jeffvli
2022-10-30 01:37:05 -07:00
parent e4f797debc
commit 699ed268e6
6 changed files with 26 additions and 18 deletions
+5
View File
@@ -100,6 +100,11 @@ const createWindow = async () => {
mainWindow?.close();
});
ipcMain.on('app-restart', () => {
app.relaunch();
app.exit(0);
});
mainWindow.loadURL(resolveHtmlPath('index.html'));
mainWindow.on('ready-to-show', () => {