Skip to content

Uninstaller should remove \_retail_\webui #180

@francislavoie

Description

@francislavoie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions