Simplified the spec file and it will hopefully include all files in levels, not just folders.
This commit is contained in:
@@ -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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user