From f30485bd372e8d475da48e4d22ca170752d4b08b Mon Sep 17 00:00:00 2001 From: MaxXor Date: Sun, 31 May 2020 13:45:53 +0200 Subject: [PATCH] Update client x86 install paths --- Quasar.Server/Build/ClientBuilder.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Quasar.Server/Build/ClientBuilder.cs b/Quasar.Server/Build/ClientBuilder.cs index 2a3a200b..fa48f460 100644 --- a/Quasar.Server/Build/ClientBuilder.cs +++ b/Quasar.Server/Build/ClientBuilder.cs @@ -202,19 +202,19 @@ private OpCode BoolOpCode(bool p) /// /// Attempts to obtain the signed-byte value of a special folder from the install path value provided. /// - /// The integer value of the install path. + /// The integer value of the install path. /// Returns the signed-byte value of the special folder. - /// Thrown if the path to the special folder was invalid. - private sbyte GetSpecialFolder(int installpath) + /// Thrown if the path to the special folder was invalid. + private sbyte GetSpecialFolder(int installPath) { - switch (installpath) + switch (installPath) { case 1: return (sbyte)Environment.SpecialFolder.ApplicationData; case 2: - return (sbyte)Environment.SpecialFolder.ProgramFilesX86; + return (sbyte)Environment.SpecialFolder.ProgramFiles; case 3: - return (sbyte)Environment.SpecialFolder.SystemX86; + return (sbyte)Environment.SpecialFolder.System; default: throw new ArgumentException("InstallPath"); }