mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 21:29:11 +00:00
Use sys.exit to quit via system tray. Fix pip install cmd in Readme
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user