- Timestamp:
- 11/23/09 20:32:29 (15 years ago)
- Location:
- branches/PluginInfrastructure Refactoring
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring
- Property svn:ignore
-
old new 1 1 HeuristicLab.suo 2 PluginMetaDataTest
-
- Property svn:ignore
-
branches/PluginInfrastructure Refactoring/HeuristicLab/Program.cs
r2517 r2528 30 30 using HeuristicLab.PluginInfrastructure.Advanced; 31 31 using System.Runtime.InteropServices; 32 using HeuristicLab.PluginInfrastructure.Starter; 33 using System.IO; 32 34 33 35 namespace HeuristicLab { … … 47 49 } else { 48 50 var cmd = args[0].ToUpperInvariant(); 51 string pluginDir = Path.GetFullPath(Application.StartupPath); 49 52 switch (cmd) { 50 53 case "START": { … … 59 62 } 60 63 case "SHOW": { 61 InstallationManagerConsole managerConsole = new InstallationManagerConsole( );64 InstallationManagerConsole managerConsole = new InstallationManagerConsole(pluginDir); 62 65 managerConsole.Show(args.Skip(1)); 63 66 break; 64 67 } 65 68 case "INSTALL": { 66 InstallationManagerConsole managerConsole = new InstallationManagerConsole( );69 InstallationManagerConsole managerConsole = new InstallationManagerConsole(pluginDir); 67 70 managerConsole.Install(args.Skip(1)); 68 71 break; 69 72 } 70 73 case "UPDATE": { 71 InstallationManagerConsole managerConsole = new InstallationManagerConsole( );74 InstallationManagerConsole managerConsole = new InstallationManagerConsole(pluginDir); 72 75 managerConsole.Update(args.Skip(1)); 73 76 break; 74 77 } 75 78 case "REMOVE": { 76 InstallationManagerConsole managerConsole = new InstallationManagerConsole( );79 InstallationManagerConsole managerConsole = new InstallationManagerConsole(pluginDir); 77 80 managerConsole.Remove(args.Skip(1)); 78 81 break;
Note: See TracChangeset
for help on using the changeset viewer.