@@ -12,15 +12,15 @@ arch="x86_64"
1212
1313# GET THE NAMES OF ALL APPLICATION
1414curl -Ls " $AMREPO " /programs/" $arch " -apps > " $arch " -apps || exit 1
15- curl -Ls " $AMREPO " /programs/" $arch " -appimages > " $arch " -appimages || exit 1
15+ curl -Ls " $AMREPO " /programs/stats -appimages > stats -appimages || exit 1
1616curl -Ls " $AMREPO " /programs/stats-portable > stats-portable || exit 1
1717
1818if ! grep -q " ^◆ " " $arch " -apps; then exit 0; fi
19+ if ! grep -q " ^◆ " stats-appimages; then exit 0; fi
1920if ! grep -q " ^◆ " stats-portable; then exit 0; fi
20- if ! grep -q " ^◆ " " $arch " -appimages; then exit 0; fi
2121
2222ARGS=$( sort -u " $arch " -apps | awk -v FS=" (◆ | : )" ' {print $2}' )
23- APPIMAGES=$( sort -u " $arch " -appimages | awk -v FS=" (◆ | : )" ' {print $2}' )
23+ APPIMAGES=$( sort -u stats -appimages | awk -v FS=" (◆ | : )" ' {print $2}' )
2424PORTABLE=$( sort -u stats-portable | grep -v " #itsappimageonthefly" | awk -v FS=" (◆ | : )" ' {print $2}' )
2525
2626# GET THE EXACT NUMBER OF AVAILABLE APPS
@@ -228,7 +228,7 @@ _footer_apps >> apps.md
228228# #######################
229229
230230ARGS=" $APPIMAGES "
231- APPIMAGES_NUMBER=$( sort -u " $arch " -appimages | wc -l)
231+ APPIMAGES_NUMBER=$( sort -u stats -appimages | wc -l)
232232
233233echo " # APPIMAGES" > appimages.md
234234_back_to_home_or_apps_buttons >> appimages.md
@@ -308,6 +308,7 @@ for category in $CATEGORIES; do
308308 elif [ " $category " = command-line ]; then
309309
310310 CATEGORY_MSG=" "
311+ grep -i " #itscliapp" ./stats-appimages | sed ' s/ /#itscliapp/g' >> " $arch -$category "
311312 grep -i " #itscliapp" ./stats-portable | sed ' s/ /#itscliapp/g' >> " $arch -$category "
312313 grep -i -- " $category \|command line\| cli \|-cli\|terminal\|fastboot\| npm \| bash \| shell \| dash \| zsh \|\" am-utils\" \| appimagetool \| appimageupdate" ./" $arch " -apps >> " $arch -$category "
313314
@@ -820,4 +821,4 @@ category_page=""
820821_categories_buttons >> ./index.md
821822INDEX_BODY_FULL
822823
823- rm ./" $arch " -apps ./" $arch " -appimages ./stats-portable ./body.txt*
824+ rm ./" $arch " -apps ./stats -appimages ./stats-portable ./body.txt*
0 commit comments