From 460b07a4c552b966850195056a9c089a291e8e56 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 3 Jun 2026 19:26:31 +0900 Subject: [PATCH] chore: update license concat script --- scripts/concat_licenses.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/concat_licenses.py b/scripts/concat_licenses.py index d50e302..cb78bc4 100644 --- a/scripts/concat_licenses.py +++ b/scripts/concat_licenses.py @@ -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)