mirror of
https://github.com/overcuriousity/trace.git
synced 2025-12-20 04:52:21 +00:00
Merge pull request #12 from overcuriousity/claude/fix-setup-wizard-display-IroVi
Fix setup wizard not showing on first run
This commit is contained in:
@@ -115,10 +115,9 @@ def check_and_run_wizard():
|
|||||||
Returns True if wizard was run, False otherwise.
|
Returns True if wizard was run, False otherwise.
|
||||||
"""
|
"""
|
||||||
state_manager = StateManager()
|
state_manager = StateManager()
|
||||||
settings = state_manager.get_settings()
|
|
||||||
|
|
||||||
# Check if wizard has already been run (presence of any GPG setting indicates setup was done)
|
# Check if settings file exists - if it does, wizard has already been run
|
||||||
if "pgp_enabled" in settings:
|
if state_manager.settings_file.exists():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# First run - run wizard
|
# First run - run wizard
|
||||||
|
|||||||
Reference in New Issue
Block a user