server-ts: Port www

This commit is contained in:
Elian Doran
2024-04-11 23:14:37 +03:00
parent 9022bc338a
commit ae29699e65
4 changed files with 45 additions and 33 deletions

View File

@@ -81,7 +81,7 @@ async function createMainWindow(app: App) {
app.on('second-instance', () => {
// Someone tried to run a second instance, we should focus our window.
// see www.js "requestSingleInstanceLock" for the rest of this logic with explanation
// see www.ts "requestSingleInstanceLock" for the rest of this logic with explanation
if (mainWindow) {
if (mainWindow.isMinimized()) {
mainWindow.restore();