flix user config location

This commit is contained in:
pdxlocations
2025-03-27 21:14:51 -07:00
parent 2960553fef
commit 92a30ad8b0
+4 -1
View File
@@ -196,7 +196,10 @@ def json_editor(stdscr):
menu_path = ["App Settings"]
selected_index = 0 # Track the selected option
file_path = "config.json"
script_dir = os.path.dirname(os.path.abspath(__file__))
parent_dir = os.path.abspath(os.path.join(script_dir, os.pardir))
file_path = os.path.join(parent_dir, "config.json")
# file_path = "config.json"
show_save_option = True # Always show the Save button
# Ensure the file exists