Skip to content

Commit

Permalink
Resolve issue with first time launch of add-on
Browse files Browse the repository at this point in the history
  • Loading branch information
10yard committed Apr 16, 2024
1 parent 4da2e20 commit 1e8ee3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dk_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import sys
import pygame
import pygame_menu as pymenu
from glob import glob

# Graphic Config
TITLE = 'DKAFE'
Expand Down Expand Up @@ -148,7 +149,7 @@
globals()["TITLE"] = "DKAFE (Debugging Mode)"

# Validate some settings
if not os.path.exists("romlist_addon.csv"):
if not os.path.exists("romlist_addon.csv") and not glob("dkafe_*_addon_*.zip"):
globals()["ENABLE_ADDONS"] = 0
STAGES = 4 if ENABLE_ADDONS else 3
if PLAYLIST_VOLUME > 10: globals()["PLAYLIST_VOLUME"] = 10
Expand Down

0 comments on commit 1e8ee3f

Please sign in to comment.