Use sys.exit to quit via system tray. Fix pip install cmd in Readme

This commit is contained in:
Debanjum Singh Solanky
2022-08-08 21:42:36 +03:00
parent eacd95bebd
commit ef009323e7
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ pip install --upgrade khoj-assistant
``` shell
git clone https://github.com/debanjum/khoj && cd khoj
python -m venv .venv && source .venv/bin/activate
pip install
pip install .
```
##### 2. Configure
- Set `input-files` or `input-filter` in each relevant `content-type` section of `khoj_sample.yml`

View File

@@ -121,7 +121,7 @@ def create_system_tray():
menu_actions = [
('Search', lambda: webbrowser.open('http://localhost:8000/')),
('Configure', lambda: webbrowser.open('http://localhost:8000/config')),
('Quit', quit),
('Quit', sys.exit),
]
# Add the menu actions to the menu