-
Notifications
You must be signed in to change notification settings - Fork 18
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
Invalid JSON data when changing start menu icon #124
Comments
Yeah, previously, the last one as 19, so I added this to the end as 20 and 21. I also made sure to add the comma to the previous last line that didn't have one, and my new last line doesn't have the comma. |
One hint is that GitHub colors parts of the JSON you posted in red. Quotes inside strings must be escaped - each quote must turn into You can also use one of the online JSON validators. Generally, the JSON wasn't designed to be modified by hand. It was designed to backup and share mod settings. Why not use the settings UI instead? |
[edit: not sure what was wrong, but i seem to have fixed it for now] "controlStyles[20].target": "Taskbar.ExperienceToggleButton#LaunchListButton[AutomationProperties.AutomationId=StartButton] > Taskbar.TaskListButtonPanel > Border#BackgroundElement",
"controlStyles[20].styles[0]": "Background:=<ImageBrush Stretch=\"Uniform\" ImageSource=\"https://cdn-icons-png.flaticon.com/512/7554/7554093.png>\" />",
"controlStyles[21].target": "Taskbar.ExperienceToggleButton#LaunchListButton[AutomationProperties.AutomationId=StartButton] > Taskbar.TaskListButtonPanel > Microsoft.UI.Xaml.Controls.AnimatedVisualPlayer#Icon",
"controlStyles[21].styles[0]": "Visibility=Collapsed" I followed the instructions here, and also tried the image links shown as examples in case it was a problem with the image I was using, but for some reason it doesn't show up. |
I added the following to the bottom of my config JSON:
however I get "Invalid JSON data" error when trying to save it in Windhawk.
Does anyone know why?
The text was updated successfully, but these errors were encountered: