mirror of
https://github.com/Quackster/Minerva.git
synced 2025-06-29 21:07:45 +00:00
fix if statement
This commit is contained in:
parent
b0cdd8e6cb
commit
64cff6b84b
1 changed files with 9 additions and 6 deletions
|
@ -28,16 +28,19 @@ namespace Minerva
|
|||
Console.WriteLine();
|
||||
}
|
||||
|
||||
if (argsList.Contains("--shockwave-badge-render"))
|
||||
if (argsList.Contains("--flash-badge-render"))
|
||||
{
|
||||
Console.WriteLine("Shockwave badge rendering enabled");
|
||||
SHOCKWAVE_BADGE_RENDER = true;
|
||||
Console.WriteLine("Flash (client versions above and including 2013+) badge rendering enabled");
|
||||
|
||||
SHOCKWAVE_BADGE_RENDER = false;
|
||||
FLASH_BADGE_RENDER = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Flash (client versions above and including 2013+) badge rendering enabled");
|
||||
FLASH_BADGE_RENDER = false;
|
||||
Console.WriteLine("Shockwave badge rendering enabled");
|
||||
|
||||
SHOCKWAVE_BADGE_RENDER = true;
|
||||
FLASH_BADGE_RENDER = false;
|
||||
}
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
|
Loading…
Add table
Reference in a new issue