mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-14 01:26:35 +00:00
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:
parent
53fb50960d
commit
9c15f31d00
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<?if $(var.Platform)="x86"?>
|
<?if $(var.Platform)="x64" ?>
|
||||||
<?define Program_Files="ProgramFilesFolder"?>
|
|
||||||
<?else ?>
|
|
||||||
<?define Program_Files="ProgramFiles64Folder"?>
|
<?define Program_Files="ProgramFiles64Folder"?>
|
||||||
|
<?else ?>
|
||||||
|
<?define Program_Files="ProgramFilesFolder"?>
|
||||||
<?endif ?>
|
<?endif ?>
|
||||||
<?ifndef var.Version?>
|
<?ifndef var.Version?>
|
||||||
<?error Undefined Version variable?>
|
<?error Undefined Version variable?>
|
||||||
|
Loading…
Reference in New Issue
Block a user