Skip to content

Commit

Permalink
Merge pull request #2515 from nextcloud/fix/neon_framework/missing-se…
Browse files Browse the repository at this point in the history
…rver-icons
  • Loading branch information
provokateurin authored Sep 26, 2024
2 parents ef2df66 + bd80dc2 commit 8d5783c
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 8d5783c

Please sign in to comment.