cleaned up launch flags
This commit is contained in:
parent
e2525e253a
commit
7fc12b2c98
4 changed files with 9 additions and 4 deletions
|
@ -176,10 +176,10 @@ namespace WeeXnes
|
|||
{
|
||||
switch (argument)
|
||||
{
|
||||
case "-autostart":
|
||||
case HandleLaunchArguments.ArgumentStrings.autostart:
|
||||
HandleLaunchArguments.arg_autostart();
|
||||
break;
|
||||
case "-debugMode":
|
||||
case HandleLaunchArguments.ArgumentStrings.debugMode:
|
||||
HandleLaunchArguments.arg_debugMode();
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace WeeXnes.Core
|
|||
{
|
||||
public class Information
|
||||
{
|
||||
public const string Version = "4.5.1.4";
|
||||
public const string Version = "4.5.1.5";
|
||||
public const string EncryptionHash = "8zf5#RdyQ]$4x4_";
|
||||
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
|
||||
}
|
||||
|
|
|
@ -8,6 +8,11 @@ namespace WeeXnes.Core
|
|||
{
|
||||
public class HandleLaunchArguments
|
||||
{
|
||||
public static class ArgumentStrings
|
||||
{
|
||||
public const string autostart = "-autostart";
|
||||
public const string debugMode = "-debugMode";
|
||||
}
|
||||
public static class Data
|
||||
{
|
||||
public static bool Autostart = false;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<Version>4.5.1.4</Version>
|
||||
<Version>4.5.1.5</Version>
|
||||
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>WeeXnes</RootNamespace>
|
||||
|
|
Loading…
Add table
Reference in a new issue