From 3584482967f0b48c5d2cf5261ace724d85e792a8 Mon Sep 17 00:00:00 2001 From: CodeDevMLH Date: Thu, 12 Dec 2024 00:17:25 +0100 Subject: [PATCH] fix replace rules --- config.yaml | 17 +++++++++-------- customize-WebUI.py | 35 ++++++++++++++++++++--------------- test.yaml | 6 ++++-- 3 files changed, 33 insertions(+), 25 deletions(-) diff --git a/config.yaml b/config.yaml index c6c2787..e78e614 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,5 @@ # Zielverzeichnis für Operationen -destination_directory: './' +destination_directory: './web' # Kopierregeln copy_rules: @@ -15,6 +15,8 @@ copy_rules: target: './bc8d51405ec040305a87.ico' - source: './img/favicon.ico' target: './favicon.ico' + - source: './img/favicon.png' + target: './assets/img/favicon.png' mode: 'replace' # Überschreibt vorhandene Dateien/Ordner @@ -26,15 +28,13 @@ copy_rules: - source: './img/background.png' target: './assets/img/background.png' - - source: './img/favicon.png' - target: './assets/img/favicon.png' - source: './img/logo.png' target: './assets/img/logo.png' mode: 'copy' # Kopiert Dateien/Ordner # Modifikationsregeln modification_rules: - - file_pattern: 'session-login-index-html..*.bundle.js' + - file_pattern: 'session-login-index-html..*.chunk.js' insert_rules: - after_text: '
' insert_text: '' @@ -48,7 +48,7 @@ modification_rules: insert_text: '
' # Page title and requests tab - - before_text: '' + - before_text: '' insert_text: >