Changeset 16986
- Timestamp:
- 05/24/19 13:14:35 (6 years ago)
- Location:
- branches/2924_DotNetCoreMigration
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2924_DotNetCoreMigration/HeuristicLab.ExtLibs/HeuristicLab.MathJax/2.6.1/HeuristicLab.MathJax-2.6.1/Plugin.cs.frame
r15583 r16986 35 35 public override void OnLoad() { 36 36 base.OnLoad(); 37 if (!Directory.EnumerateDirectories( AppDomain.CurrentDomain.BaseDirectory, "MathJax", SearchOption.TopDirectoryOnly).Any()) {38 ZipFile.ExtractToDirectory(Path.Combine( AppDomain.CurrentDomain.BaseDirectory, "mathjax.zip"), AppDomain.CurrentDomain.BaseDirectory);37 if (!Directory.EnumerateDirectories(Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/, "MathJax", SearchOption.TopDirectoryOnly).Any()) { 38 ZipFile.ExtractToDirectory(Path.Combine(Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/, "mathjax.zip"), Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/); 39 39 } 40 40 } -
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.