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

🛠️ [TASK] : Add svg files validation during package building #282

Open
Tracked by #175
Mr-Leshiy opened this issue Jul 4, 2024 · 1 comment
Open
Tracked by #175
Labels
enhancement New feature or request

Comments

@Mr-Leshiy
Copy link
Contributor

Summary

Add s simple svg files validation, that this file actually an svg image.

Description

  • Added svg files validation by founding an appropriate crate for doing it.
  • Update app loading functionality, fn validate_and_write_icon with svg validation.
@Mr-Leshiy Mr-Leshiy moved this to New in Catalyst Jul 4, 2024
@Mr-Leshiy Mr-Leshiy added the enhancement New feature or request label Jul 4, 2024
@Mr-Leshiy Mr-Leshiy moved this from New to 📋 Backlog in Catalyst Jul 17, 2024
@stevenj
Copy link
Collaborator

stevenj commented Jul 18, 2024

Just use this crate: https://docs.rs/svg/latest/svg/
Validation = Open SVG + Parse SVG == No errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants