Pritunl Windows client fails to detect that WireGuard is installed

I’ve had several users that has had trouble getting the client to work with wireguard.
They install Wireguard and then the pritunl client, but when they import a profile they only see a connect button not the OpenVPN and wireguard button. The issues has eventually been solved doing a bunch of reinstalls and reboots.

How do pritunl detect if wireguard is installed?
Is there a way to troubleshoot this more effectively?

Cheers,

The GetWgPath() function in profile/utils.go determines if the client has WireGuard. On Windows it looks for wg.exe in the paths. This may be fixed by restarting the computer after installing WireGuard.