Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(neon_framework,tool): Add missing server icons #2515

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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