fix `vswhere` detection in find_vswhere
@@ -51,6 +51,8 @@ function main(opt)
opt = opt or {}
-- find program
+ opt.check = "-?"
+ opt.command = "-?"
opt.pathes = opt.pathes or
{
path.join(os.getenv("ProgramFiles(x86)"), "Microsoft Visual Studio", "Installer", "vswhere.exe"),
