Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

minor fix

LearningCircuitdcfb03f4ea7f
diff --git a/src/local_deep_research/installers/windows/launch_web.bat b/src/local_deep_research/installers/windows/launch_web.bat
index 97a3ca3930..09ff630e98 100644
--- a/src/local_deep_research/installers/windows/launch_web.bat
+++ b/src/local_deep_research/installers/windows/launch_web.bat
@@ -6,10 +6,20 @@ echo This window must remain open while using the application.
echo Press Ctrl+C to exit when you're done.
echo.
+REM Set up user data directory
+set USER_DATA_DIR=%USERPROFILE%\Documents\LearningCircuit\local-deep-research
+set DB_DIR=%USER_DATA_DIR%\database
+
+REM Create directories if they don't exist
+if not exist "%USER_DATA_DIR%" mkdir "%USER_DATA_DIR%"
+if not exist "%DB_DIR%" mkdir "%DB_DIR%"
+
+REM Change to the database directory so the DB file is created there
+cd /d "%DB_DIR%"
+
start "" http://localhost:5000
python -m local_deep_research.web.app
-REM If the application closes unexpectedly, this will keep the window open
echo.
echo The application has closed unexpectedly.
echo Press any key to exit...
diff --git a/src/local_deep_research/installers/windows/ldr_setup.iss b/src/local_deep_research/installers/windows/ldr_setup.iss
index 45d26c4a7d..54110a3451 100644
--- a/src/local_deep_research/installers/windows/ldr_setup.iss
+++ b/src/local_deep_research/installers/windows/ldr_setup.iss
@@ -46,8 +46,8 @@ Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\launch_web.bat"; IconFile
; Install Python - show window
Filename: "{tmp}\python-3.12.2-amd64.exe"; Parameters: "/quiet InstallAllUsers=1 PrependPath=1 Include_test=0"; Description: "Installing Python..."; Flags: shellexec waituntilterminated
-; Install Latest Local Deep Research - show window
-Filename: "cmd.exe"; Parameters: "/k pip install --upgrade local-deep-research && echo Installation complete. && exit"; Description: "Installing Latest Local Deep Research..."; Flags: shellexec waituntilterminated
+; Install Latest Local Deep Research - show window with uninstall first
+Filename: "cmd.exe"; Parameters: "/k pip uninstall -y local-deep-research && pip install --upgrade local-deep-research && echo Installation complete. && exit"; Description: "Installing Latest Local Deep Research..."; Flags: shellexec waituntilterminated
; Install Playwright dependencies - show window
Filename: "cmd.exe"; Parameters: "/k python -m playwright install && echo Playwright installation complete. && exit"; Description: "Installing browser automation tools..."; Flags: shellexec waituntilterminated