diff --git a/src/updater/CommandLineOptions.cs b/src/updater/CommandLineOptions.cs index 49c76b0..6209e21 100644 --- a/src/updater/CommandLineOptions.cs +++ b/src/updater/CommandLineOptions.cs @@ -46,13 +46,14 @@ namespace CitizenMP.Server.Installer } help.AddPreOptionsLine(" "); -#if NO_COMMANDLINE +#if !NO_COMMANDLINE help.AddPreOptionsLine(((AssemblyLicenseAttribute)assembly .GetCustomAttributes(typeof(AssemblyLicenseAttribute), false) .Single()).Value.Trim()); -#endif +#else help.AddPreOptionsLine( "This is free software. You may redistribute copies of it under the terms of the MIT License ."); +#endif help.AddPreOptionsLine(" "); help.AddPreOptionsLine(string.Format("{0}{1} [options...] \"\"", Process.GetCurrentProcess().ProcessName, diff --git a/src/wrapper/CitizenMP Server Updater Wrapper.csproj b/src/wrapper/CitizenMP Server Updater Wrapper.csproj index 1ad9c22..a9b02c4 100644 --- a/src/wrapper/CitizenMP Server Updater Wrapper.csproj +++ b/src/wrapper/CitizenMP Server Updater Wrapper.csproj @@ -61,7 +61,9 @@ - + + Designer +