Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #188 run indexer from CLI #189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion logos.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,14 @@ def wait_on_indexing():

wine.wineserver_kill()
msg.status(f"Indexing has begun…", self.app)

# Populate config.logos_indexer_exe
if config.logos_indexer_exe is None or config.login_window_cmd is None or config.logos_cef_cmd is None:
wine.set_logos_paths()

# index_thread = threading.Thread(target=run_indexing)
# index_thread.start()
index_thread = utils.start_thread(run_indexing, daemon=False)
index_thread = utils.start_thread(run_indexing, daemon_bool=False)
self.indexing_state = State.RUNNING
time.sleep(1) # If we don't wait, the thread starts too quickly
# and the process won't yet be launched when we try to pull it from config.processes
Expand Down