Apparently \_retail_\webui doesn't get wiped out when uninstalling, which can break the WC3 client, resulting in a W3Champions Ladder Error: You are not yet authorized on the W3Champions server. Try again in a few minutes. error message.
Just did a quick bit of research, I think this requires setting up an NSIS macro to wipe out that directory.
To do this, I think vue.config.js needs to be edited, add this after win: {:
nsis: {
include: "build/installer.nsh"
}
And then a new file build/installer.nsh would have:
!macro customUnInstall
RMDir /r "$PROGRAMFILES\Warcraft III\_retail_\webui"
!macro
See https://www.electron.build/nsis
Apparently
\_retail_\webuidoesn't get wiped out when uninstalling, which can break the WC3 client, resulting in aW3Champions Ladder Error:You are not yet authorized on the W3Champions server. Try again in a few minutes.error message.Just did a quick bit of research, I think this requires setting up an NSIS macro to wipe out that directory.
To do this, I think
vue.config.jsneeds to be edited, add this afterwin: {:And then a new file
build/installer.nshwould have:See https://www.electron.build/nsis