question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Icon Genie v2.3.0 profile generator incorrectly checking for hash in splashscreenColor hex value

See original GitHub issue

Describe the bug Icon Genie profile generator incorrectly checking for hash in splashscreenColor hex value, and won’t accept a hex value without a hash.

Codepen/jsFiddle/Codesandbox (required) N/A

To Reproduce Steps to reproduce the behavior:

  1. Try to generate an IconGenie profile (replacing with relevant filenames): icongenie profile -o foo -a spa,capacitor -i app-icon.png -b app-splashscreen.png --quality 2 --splashscreen-color 286DD7
  2. See error where matching pattern expects the hash: image
  3. Now try to generate a profile with the hash: icongenie profile -o foo -a spa,capacitor -i app-icon.png -b app-splashscreen.png --quality 2 --splashscreen-color #286DD7
  4. See error image
  5. Now escape the hash icongenie profile -o foo -a spa,capacitor -i app-icon.png -b app-splashscreen.png --quality 2 --splashscreen-color \#286DD7
  6. Profile generates successfully, so try to generate icons: icongenie generate -p ./icongenie-foo.json
  7. See error (obviously, since the profile should not include the hash) image

Expected behavior The profile should generate without the hash prepending the color (remove the hash from the pattern matching check).

Screenshots See above.

Platform (please complete the following information): OS: MacOS Catalina 0.15.5 Node: v14.2.0 NPM: 6.14.4

Additional context N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
webnoobcommented, Jul 20, 2020

Ok good, the fix will be made available after the next round of updates.

1reaction
webnoobcommented, Jul 17, 2020

I’ll be able to test / look into this over the weekend all being well. Had my eye on it but hadn’t got to it yet 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create Icons & Splash Screens for Android, iOS ... - YouTube
In this video, I'm gonna show how to generate Icons & Splash Screens for Android, iOS, Mac, Windows & Web Apps Instantly -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found