fixed a crashing bug
This commit is contained in:
parent
30180ae2a1
commit
2e34ea6b86
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
using System.Windows;
|
||||
using System;
|
||||
using System.Windows;
|
||||
using WeeXnes.Core;
|
||||
using System.IO;
|
||||
using Application = System.Windows.Forms.Application;
|
||||
|
||||
namespace WeeXnes
|
||||
{
|
||||
|
@ -10,6 +13,7 @@ namespace WeeXnes
|
|||
{
|
||||
private void App_OnStartup(object sender, StartupEventArgs e)
|
||||
{
|
||||
Environment.CurrentDirectory = Application.StartupPath;
|
||||
if (e.Args.Length > 0)
|
||||
{
|
||||
for (int i = 0; i != e.Args.Length; ++i)
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace WeeXnes.Core
|
|||
public static string encryptionKey = "8zf5#RdyQ]$4x4_";
|
||||
public static string AppDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "WeeXnes");
|
||||
public static string SettingsFileName = "settings.ini";
|
||||
public static string version = "2.7.6";
|
||||
public static string version = "2.7.7";
|
||||
public static bool info_isRpcRunning = false;
|
||||
public static bool info_RpcAutoStart;
|
||||
public static string apiUrl = "http://www.weexnes.com:5169/";
|
||||
|
|
Loading…
Add table
Reference in a new issue