TUN-7268: Default to Program Files as location for win32

The previous logic of var == x86 never fired for 386 arch windows
systems causing us to set ProgramFiles64Folder for the older windows
versions causing downloads to default to a different location. This
change fixes that.
This commit is contained in:
Sudarsan Reddy 2023-03-09 18:00:34 +00:00
parent 53fb50960d
commit 9c15f31d00
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<?if $(var.Platform)="x86"?>
<?define Program_Files="ProgramFilesFolder"?>
<?else ?>
<?if $(var.Platform)="x64" ?>
<?define Program_Files="ProgramFiles64Folder"?>
<?else ?>
<?define Program_Files="ProgramFilesFolder"?>
<?endif ?>
<?ifndef var.Version?>
<?error Undefined Version variable?>