Add about page and 3rd party licenses file

This commit is contained in:
2026-02-14 18:43:47 +01:00
parent a7df0b0897
commit 2d2c395ded
7 changed files with 795 additions and 7 deletions

16
main.js
View File

@@ -399,6 +399,22 @@ ipcMain.handle('open-link', async (event, link) => {
await shell.openExternal(link)
})
ipcMain.handle('open-window', async (event, file) => {
const win = new BrowserWindow({
width: 600,
height: 720,
modal: true,
parent: mainWindow,
webPreferences: {
nodeIntegration: false,
contextIsolation: true
}
})
win.title = file
win.loadFile(file)
})
ipcMain.handle('launch-game', async (event, mode) => {
const silksongExecutablePath = `${silksongPath}/Hollow Knight Silksong.exe`
if (mode === "modded"){