code
code copied to clipboard
Select icon occurce invalid type
Please confirm the following.
- [X] I checked the existing issues for duplicate problems
- [X] I have tried resolving the issue using the support portal
- [X] I have ensured my Modrinth App installation is up to date
What version of the Modrinth App are you using?
v0.8.4
What operating systems are you seeing the problem on?
Windows
Describe the bug
Selection icon for instance(profile/modpack) occure
invalid args `iconPath` for command `profile_edit_icon`: invalid type: map, expected a borrowed path
Icon squere in options tab will change to blank placeholder image, icon in instance-card won't change
Steps to reproduce
- Open any profile
- Open options tab
- In Instance section click
Select icon - Select any icon
- Look at error apear in right bottom corner
Expected behavior
Icon would change.
Additional context
Stacktrace shows so error happends here
function jie() {
"console"in dt && U0.forEach(function(e) {
e in dt.console && un(dt.console, e, function(t) {
return od[e] = t,
function(...n) {
nr("console", {
args: n,
level: e
});
const i = od[e];
i && i.apply(dt.console, n)
}
})
})
}
or more exactly in i.apply(dt.console, n)
Also there is a chance so that happens because file path contains non-ascii letters (in my case).