File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,13 +150,13 @@ mkdir -p "$OUTPUT/${namepv##*/}" $OUTPUT/config
150150 echo " $( fsck.f2fs " $file_img " | grep ' superblock features' | grep -cm1 ro) " > " $OUTPUT /config/${namepv##*/ } _f2fs_ro"
151151 elif [ " $dang_file " == ' erofs' ]; then
152152 extract.erofs -T$threads -x -i " $file_img " -o " $OUTPUT " > $TMP /extract_erofs.log || killtree " \nextract.erofs error: ${namepv##*/ } " " $OUTPUT /${namepv##*/ } " &
153- sleep 1
153+ sleep 0.5
154154 if [ -f $TMP /extract_erofs.log ]; then
155155 while true ; do
156156 number_kk=" $( sed -E ' s/\x1b\[[0-9;]*m//g; s/[\r\t]/\n/g' " $TMP /extract_erofs.log" | grep -E ' Extract: \[[^]]+\]' | tail -n 1 | awk ' {print $3}' | cut -d\. -f1) "
157157 if [ ${number_kk:- 0} -ge 98 ] || [ " $( grep -cm1 " 100.00%" $TMP /extract_erofs.log) " == 1 ]; then
158158 progress 98/100
159- sleep 1
159+ sleep 0.5
160160 progress -1/0
161161 break
162162 fi
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ home(){ xml_print '
77<action>
88<title>Unpack splitapp</title>
99<desc>' $splitapp_desc_text ' </desc>
10- <param name="FILE" desc="' $input_text ' .APP, ' $folder_text ' ' $PTSD ' " options-sh="cd $PTSD; ls *.app *.APP" required="true"/>
10+ <param name="FILE" label=" ' $select_text ' " desc="' $input_text ' .APP, ' $folder_text ' ' $PTSD ' " options-sh="cd $PTSD; ls *.app *.APP" required="true"/>
1111<set>
1212if [ -f "$FILE" ];then
1313splitapp.py -f "$FILE" -o $PTSD/out
2222<action>
2323<title>Unpack pac</title>
2424<desc>' $pac_desc_text ' </desc>
25- <param name="FILE" desc="' $input_text ' .pac, ' $folder_text ' ' $PTSD ' " options-sh="cd $PTSD; ls *.pac" required="true"/>
25+ <param name="FILE" label=" ' $select_text ' " desc="' $input_text ' .pac, ' $folder_text ' ' $PTSD ' " options-sh="cd $PTSD; ls *.pac" required="true"/>
2626<set>
2727if [ -f "$FILE" ];then
2828unpac.py extract -d $PTSD/out "$FILE"
You can’t perform that action at this time.
0 commit comments