chore: update license concat script

This commit is contained in:
aclist 2026-06-03 19:26:31 +09:00
parent abdfd2e995
commit 460b07a4c5

View File

@ -13,11 +13,13 @@ This file includes the combined licenses to the following components:
- PyGObject
- python-a2s
which are collectively bundled as a turnkey application and used to run the DZGUI utility.\n\n
When shipped as a binary installer, these components are collectively bundled
as a turnkey application and used to run the DZGUI utility.\n\n
"""
DZGUI_HEADER = "DZGUI application"
LICENSE_FILE = "LICENSE"
class CombinedLicense:
def __init__(self) -> None:
self.text = BOILERPLATE
@ -34,10 +36,11 @@ class CombinedLicense:
def get_text(self) -> str:
return self.text
def concat_license() -> str:
combined = CombinedLicense()
root = Path(__file__).resolve().parents[1]
licenses = root.joinpath("licenses")
licenses = root.joinpath("docs/licenses")
main_license = root.joinpath(LICENSE_FILE)
combined.add_header(DZGUI_HEADER)