Simplified the spec file and it will hopefully include all files in levels, not just folders.

This commit is contained in:
Storm Dragon
2025-09-27 21:36:47 -04:00
parent 870ef051ba
commit 6d49ea25c3

View File

@@ -1,15 +1,7 @@
# -*- mode: python ; coding: utf-8 -*- # -*- mode: python ; coding: utf-8 -*-
import os # Include entire levels directory (simpler and more reliable)
level_dirs = [('levels', 'levels')]
# 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))
a = Analysis( a = Analysis(
['wicked_quest.py'], ['wicked_quest.py'],