Bug #246
Cemu can't apply update with the updater if the executable is renamed
Description
JasKambo#1502 reported an issue where the updater would get stuck when it started to apply the update. Helped him via DMs and the issue was fixed when he renamed his Cemu executable back to Cemu.exe. Some other members also reported it getting stuck at a similar point.
I could reproduce the issue with Cemu 1.15.18 (Patreon version), Cemu 1.16.0 (Public version) and Cemu 1.16.1 (Patreon version).
The steps to reproduce it is just downloading an older Cemu version and renaming your Cemu.exe to something else and then manually check for updates. The log will have this specific error:
[18:30:03] update error: Error: The system cannot find the file specified. rename(p1, p2): invalid arguments: operation not permitted
The expected behavior is that it should delete the renamed executable (and optionally keep the same name).
History
Updated by PotatoPower159 over 3 years ago
After updating the game, would it be okay to change the name of the "Cemu.exe" file, to something custom like "Cemu_1.25.0b.exe" or would that result in a loss of updates?