Grasscutters/Cultivation

Registry is always wiped

Seeker14491 opened this issue · 0 comments

The "Wipe Login Cache" toggle doesn't work; the registry is always wiped. Looking at the code, it seems the wipe_registry() function is being called unconditionally:

// First wipe registry if we have to
await invoke('wipe_registry', {
// The exe is always PascalCase so we can get the dir using regex
execName: (await getGameExecutable())?.split('.exe')[0].replace(/([a-z\d])([A-Z])/g, '$1 $2'),
})