Skip to content

Commit fb6b3b5

Browse files
ivan-hcweb-flow
andauthored
Add dumb icons, where missing (#46)
* Add gear.png * Add files via upload * Clean unneeded pages * Add files via upload * Update icons-dumb.yml * Add dumb icons --------- Co-authored-by: Portable-Linux-Apps <noreply@github.com>
1 parent 51438fb commit fb6b3b5

226 files changed

Lines changed: 46 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/icons-dumb.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: "Add dumb icons"
2+
3+
on:
4+
#schedule:
5+
# - cron: "*/15 * * * *"
6+
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
sync-files:
18+
name: "Copy dumb icon where missing"
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: "Checkout source repository"
22+
uses: actions/checkout@v4
23+
24+
- name: "Start copy"
25+
run: |
26+
LIST=$(curl -Ls https://raw.githubusercontent.com/ivan-hc/AM/main/programs/x86_64-apps)
27+
[ -z "$LIST" ] && exit 1
28+
MDS=$(ls apps/* | sed 's:.*/::; s/.md$//g')
29+
for m in $MDS; do
30+
if ! test -f icons/"$m".png; then
31+
cp -r gear.png "icons/$m.png"
32+
fi
33+
done
34+
rm -f icons/*.md
35+
36+
- name: "Push to Source"
37+
run: |
38+
git config --global user.name "Portable-Linux-Apps"
39+
git config --global user.email "noreply@github.com"
40+
git add icons
41+
if git diff-index --quiet HEAD; then
42+
echo "No changes to commit." >> $GITHUB_STEP_SUMMARY
43+
else
44+
git commit -m "Add dumb icons"
45+
git push && echo "Sync to Source succeeded" >> $GITHUB_STEP_SUMMARY
46+
fi

gear.png

13.3 KB

icons/acestream.png

13.3 KB

icons/afetch.png

13.3 KB

icons/aidm.png

13.3 KB

icons/albafetch.png

13.3 KB

icons/alr2appimage.png

13.3 KB

icons/amfora.png

13.3 KB

icons/ani-cli.png

13.3 KB

icons/antidot.png

13.3 KB

0 commit comments

Comments
 (0)