feat(electron): constrain setup window size

This commit is contained in:
Elian Doran 2025-04-02 20:47:53 +03:00
parent 3e5bd01fc1
commit f420b5cbd4
No known key found for this signature in database

View File

@ -257,9 +257,12 @@ function getIcon() {
async function createSetupWindow() {
const { BrowserWindow } = await import("electron"); // should not be statically imported
const width = 750;
const height = 650;
setupWindow = new BrowserWindow({
width: 800,
height: 800,
width,
height,
resizable: false,
title: "TriliumNext Notes Setup",
icon: getIcon(),
webPreferences: {