ThiaudioTT / hoi4-presence

Hearts of Iron IV presence for Discord!
MIT License
13 stars 10 forks source link

[BUG] - Can't change launcher-settings.json | 'charmap' codec can't decode byte 0x90 in position 792: character maps to <undefined> #37

Closed ThiaudioTT closed 4 months ago

ThiaudioTT commented 4 months ago

We are having trouble when installing the presence with the new update 1.14.4.3.

We can't change the launcher-settings.json, this causes the presence to not update. Error:

'charmap' codec can't decode byte 0x90 in position 792: character maps to <undefined>

Possibly related: #36

Line in code:

https://github.com/ThiaudioTT/hoi4-presence/blob/bd92a27a6247460e39c6820db68dbc779630f9b8/src/setup.py#L193

Temporary solution

Change exePath in launcher-settings.json to:

"exePath": "./runRPC.bat",
ThiaudioTT commented 4 months ago

Probably we can't change because of this in the launcher-settings:?

image