Skip to content

Commit

Permalink
Removed console window on export
Browse files Browse the repository at this point in the history
  • Loading branch information
morgan-cromell committed Jan 16, 2019
1 parent 4f1be0a commit c569a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thomas/ThomasEditor/utils/Exporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static bool ExportProject(string path, ThomasEngine.Project project)
CompilerParameters parameters = new CompilerParameters();
parameters.GenerateExecutable = true;
parameters.IncludeDebugInformation = false;
parameters.CompilerOptions = @"/optimize+ /platform:x64 /target:exe " + @extraCommands;
parameters.CompilerOptions = @"/optimize+ /platform:x64 /target:winexe " + @extraCommands;
parameters.OutputAssembly = dir + "\\Bin\\" + fileName;

parameters.ReferencedAssemblies.Add("System.dll");
Expand Down

0 comments on commit c569a06

Please sign in to comment.