From 6d49ea25c34d1adec8058da40f08f81b5a495730 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 27 Sep 2025 21:36:47 -0400 Subject: [PATCH] Simplified the spec file and it will hopefully include all files in levels, not just folders. --- wicked_quest.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/wicked_quest.spec b/wicked_quest.spec index cc3a0be..1e08192 100644 --- a/wicked_quest.spec +++ b/wicked_quest.spec @@ -1,15 +1,7 @@ # -*- mode: python ; coding: utf-8 -*- -import os - -# Collect level directories dynamically -level_dirs = [] -levels_path = 'levels' -if os.path.exists(levels_path): - for item in os.listdir(levels_path): - item_path = os.path.join(levels_path, item) - if os.path.isdir(item_path): - level_dirs.append((item_path, item_path)) +# Include entire levels directory (simpler and more reliable) +level_dirs = [('levels', 'levels')] a = Analysis( ['wicked_quest.py'],