fix: correct preload.js path after autocomplete module restructure

This commit is contained in:
CREDO23 2026-04-02 21:29:05 +02:00
parent 3e68d4aa3e
commit a99d999a36

View file

@ -80,7 +80,7 @@ export function createSuggestionWindow(x: number, y: number): BrowserWindow {
hasShadow: true,
type: 'panel',
webPreferences: {
preload: path.join(__dirname, '..', 'preload.js'),
preload: path.join(__dirname, 'preload.js'),
contextIsolation: true,
nodeIntegration: false,
sandbox: true,