- Timestamp:
- 05/24/19 13:14:35 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2924_DotNetCoreMigration/HeuristicLab.Problems.GeneticProgramming/3.3/Plugin.cs.frame
r15973 r16986 47 47 public override void OnLoad() { 48 48 base.OnLoad(); 49 if (!Directory.EnumerateDirectories( AppDomain.CurrentDomain.BaseDirectory, Path.Combine("Robocode", "libs"), SearchOption.TopDirectoryOnly).Any()) {50 ZipFile.ExtractToDirectory(Path.Combine( AppDomain.CurrentDomain.BaseDirectory, Path.Combine("Robocode", "robocode.zip")), AppDomain.CurrentDomain.BaseDirectory);49 if (!Directory.EnumerateDirectories(Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/, Path.Combine("Robocode", "libs"), SearchOption.TopDirectoryOnly).Any()) { 50 ZipFile.ExtractToDirectory(Path.Combine(Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/, Path.Combine("Robocode", "robocode.zip")), Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/); 51 51 } 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.