@@ -77,8 +77,14 @@ void CreateExe()
77
77
File.Copy(ZipPath, Path.Combine(InstallerProjectDir, "res", Path.GetFileName(ZipPath)), true);
78
78
File.Copy(ConfigPath, Path.Combine(InstallerProjectDir, "res", Path.GetFileName(ConfigPath)), true);
79
79
//Program.BuildProject(SkSlnFilename, "Release", "Installer");
80
-
System.Diagnostics.Process.Start(Path.Combine(InstallerProjectDir, "make"), "release");
81
80
Console.WriteLine("creating executable");
81
+
//System.Diagnostics.Process.Start(Path.Combine(InstallerProjectDir, "make"), "release");
82
+
83
+
if (Utils.IsUnix)
84
+
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo("make", "release") { WorkingDirectory = InstallerProjectDir, UseShellExecute = true });
85
+
else
86
+
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo("cmd", "/c make release") { WorkingDirectory = InstallerProjectDir, UseShellExecute = true });
87
+
82
88
//var runner = new MSBuildRunner(InstallerProjectDir);
83
89
//runner.Execute();
84
90
File.Copy(Path.Combine(InstallerProjectDir, "bin", "SharpKitSetup.exe"), OutputFilename, true);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4