From: <che...@us...> - 2009-12-19 23:09:39
|
Revision: 3284 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3284&view=rev Author: chef_koch Date: 2009-12-19 23:09:29 +0000 (Sat, 19 Dec 2009) Log Message: ----------- fixed wrong path to other irss apps, when customized installation folder is used Modified Paths: -------------- trunk/plugins/IR Server Suite/IR Server Suite/Common/IrssUtils/Common.cs trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Configuration/Program.cs trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Tray/Program.cs Modified: trunk/plugins/IR Server Suite/IR Server Suite/Common/IrssUtils/Common.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/Common/IrssUtils/Common.cs 2009-12-19 16:19:07 UTC (rev 3283) +++ trunk/plugins/IR Server Suite/IR Server Suite/Common/IrssUtils/Common.cs 2009-12-19 23:09:29 UTC (rev 3284) @@ -71,12 +71,6 @@ Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "IR Server Suite"); /// <summary> - /// IR Server Suite "Application Data" folder location (includes trailing '\') - /// </summary> - public static readonly string FolderProgramFiles = - Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "IR Server Suite"); - - /// <summary> /// IR Server Suite "IR Commands" folder location (includes trailing '\') /// </summary> public static readonly string FolderIRCommands = Path.Combine(FolderAppData, "IR Commands"); Modified: trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Configuration/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Configuration/Program.cs 2009-12-19 16:19:07 UTC (rev 3283) +++ trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Configuration/Program.cs 2009-12-19 23:09:29 UTC (rev 3284) @@ -43,7 +43,7 @@ { #region Constants - internal static readonly string IRServerFile = Path.Combine(Common.FolderProgramFiles, @"IR Server.exe"); + internal static readonly string IRServerFile = Path.Combine(Application.StartupPath, @"IR Server.exe"); private static readonly TimeSpan defaultServiceTime = new TimeSpan(0, 0, 30); Modified: trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Tray/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Tray/Program.cs 2009-12-19 16:19:07 UTC (rev 3283) +++ trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server Tray/Program.cs 2009-12-19 23:09:29 UTC (rev 3284) @@ -14,9 +14,9 @@ { #region Constants - private static readonly string _configExe = Path.Combine(Common.FolderProgramFiles, @"IR Server Configuration.exe"); - private static readonly string _translatorExe = Path.Combine(Common.FolderProgramFiles, @"Translator.exe"); - private static readonly string _debugClientExe = Path.Combine(Common.FolderProgramFiles, @"DebugClient.exe"); + private static readonly string _configExe = Path.Combine(Application.StartupPath, @"IR Server Configuration.exe"); + private static readonly string _translatorExe = Path.Combine(Application.StartupPath, @"Translator.exe"); + private static readonly string _debugClientExe = Path.Combine(Application.StartupPath, @"DebugClient.exe"); #endregion Constants This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |