Skip to content

Commit

Permalink
fix(neon_framework,tool): Add missing server icons
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Sep 25, 2024
1 parent ef2df66 commit bd80dc2
Show file tree
Hide file tree
Showing 34 changed files with 4 additions and 6 deletions.
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/audio.svg.vec
Binary file not shown.
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/caret.svg.vec
Binary file not shown.
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/checkmark.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/comments.svg.vec
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/error.svg.vec
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/link.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/location.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/mail.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/mastodon.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/more.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/password.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/phone.svg.vec
Binary file not shown.
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/settings.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/twitter.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/users.svg.vec
Binary file not shown.
Binary file modified packages/neon_framework/assets/icons/server/video.svg.vec
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 4 additions & 6 deletions tool/generate-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,11 @@ icons_dir="packages/neon_framework/assets/icons/server/"
rm -rf "$icons_dir"
mkdir -p "$icons_dir"

shopt -s extglob
for file in external/nextcloud-server/{core/img/*,apps/*/img}/!(app|app-dark).svg; do
while IFS= read -r -d '' file
do
name="$(basename "$file" | sed "s/.svg$//" | sed "s/-dark$//" | sed "s/-white$//").svg"
if ! grep "<image " "$file"; then
cp -u "$file" "$icons_dir/$name"
fi
done
cp -u "$file" "$icons_dir/$name"
done < <(find external/nextcloud-server/{core/img,apps/*/img} -name "*.svg" -not -name "app.svg" -not -name "app-dark.svg" -print0)

(
cd packages/neon_framework
Expand Down

0 comments on commit bd80dc2

Please sign in to comment.