mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
@@ -638,7 +638,9 @@ class Cli:
|
|||||||
self._set_common_argument(src_parser)
|
self._set_common_argument(src_parser)
|
||||||
self._set_common_options(src_parser)
|
self._set_common_options(src_parser)
|
||||||
self._set_module_options(src_parser)
|
self._set_module_options(src_parser)
|
||||||
src_parser.add_argument("--kde", action="store_true", help="patching with KDE patch kit.")
|
src_parser.add_argument(
|
||||||
|
"--kde", action="store_true", help="patching with KDE patch kit."
|
||||||
|
)
|
||||||
#
|
#
|
||||||
tools_parser = subparsers.add_parser("tool")
|
tools_parser = subparsers.add_parser("tool")
|
||||||
tools_parser.set_defaults(func=self.run_tool)
|
tools_parser.set_defaults(func=self.run_tool)
|
||||||
|
|||||||
@@ -298,7 +298,9 @@ class Updater:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def patch_kde(cls, src_dir):
|
def patch_kde(cls, src_dir):
|
||||||
logger = logging.getLogger("aqt")
|
logger = logging.getLogger("aqt")
|
||||||
PATCH_URL_BASE = "https://raw.githubusercontent.com/miurahr/kde-qt-patch/main/patches/"
|
PATCH_URL_BASE = (
|
||||||
|
"https://raw.githubusercontent.com/miurahr/kde-qt-patch/main/patches/"
|
||||||
|
)
|
||||||
for p in Settings.kde_patches:
|
for p in Settings.kde_patches:
|
||||||
logger.info("Apply patch: " + p)
|
logger.info("Apply patch: " + p)
|
||||||
patchfile = patch.fromurl(PATCH_URL_BASE + p)
|
patchfile = patch.fromurl(PATCH_URL_BASE + p)
|
||||||
|
|||||||
Reference in New Issue
Block a user