Skip to content

Build your personal knowledge base with Trilium Notes

feat(electron): constrain setup window size

Elian Doranf420b5cbd420
diff --git a/src/services/window.ts b/src/services/window.ts
index 70c178612c..f5c7857a14 100644
--- a/src/services/window.ts
+++ b/src/services/window.ts
@@ -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: {