mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-15 16:16:03 +02:00
Now modules in custom folders can properly declare their copyright.txt.
This commit is contained in:
parent
d999f63cbd
commit
b016f192a4
@ -648,7 +648,12 @@ if selected_platform in platform_list:
|
|||||||
# Get license path (if present)
|
# Get license path (if present)
|
||||||
try:
|
try:
|
||||||
license_file = config.get_license_file()
|
license_file = config.get_license_file()
|
||||||
env.module_license_files.append("#" + path + "/" + license_file)
|
|
||||||
|
if not os.path.isabs(path):
|
||||||
|
env.module_license_files.append("#" + path + "/" + license_file)
|
||||||
|
else:
|
||||||
|
env.module_license_files.append(path + "/" + license_file)
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user