Skip to content

Commit fadf661

Browse files
committed
fix(assembler): update logging message and clean up library processing code
1 parent 07c7655 commit fadf661

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

automation-tools/assembler.sh

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ filter_critical_system_libraries() {
327327
local target_dir="$1"
328328
local filter_type="${2:-lib}" # 'lib' for directory filtering, 'list' for text file filtering
329329

330-
log i "�️ Filtering critical system libraries from: $target_dir (type: $filter_type)" "$logfile"
330+
log i "🛡️ Filtering critical system libraries from: $target_dir (type: $filter_type)" "$logfile"
331331

332332
# List of system-critical library patterns to exclude/remove
333333
local critical_patterns=(
@@ -1014,22 +1014,8 @@ process_required_libraries() {
10141014
# Clean up
10151015
rm -f "$temp_lib_file" "$filtered_lib_file"
10161016
}
1017-
local temp_lib_file=$(mktemp)
1018-
process_library_file "$required_libs_file" "$temp_lib_file"
1019-
1020-
# Use search_libs to copy libraries
1021-
if [[ -s "$temp_lib_file" ]]; then
1022-
log i "🔧 Using search_libs to copy component-specific libraries..." "$logfile"
1023-
search_libs "$temp_lib_file"
1024-
else
1025-
log i "No component-specific libraries to process after filtering" "$logfile"
1026-
fi
1027-
1028-
# Clean up
1029-
rm -f "$temp_lib_file"
1030-
}
10311017

1032-
# Filter AppImage libraries to exclude system-critical ones
1018+
# Process the library file to extract library names
10331019
process_library_file() {
10341020
local input_file="$1"
10351021
local output_file="$2"

0 commit comments

Comments
 (0)