mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-04-28 17:11:14 +00:00
fix Build und Start Commands with new Temp-Folder "OBJ"
This commit is contained in:
@@ -18,20 +18,20 @@ namespace ElectronNET.WebApp
|
||||
{
|
||||
// ToDo: Maybe add a "electronized" args check here?
|
||||
// this is the electron case!
|
||||
if (args.Length > 0)
|
||||
{
|
||||
Console.WriteLine("Test Switch for Electron detection: " + args[0]);
|
||||
//if (args.Length > 0)
|
||||
//{
|
||||
//Console.WriteLine("Test Switch for Electron detection: " + args[0]);
|
||||
return WebHost.CreateDefaultBuilder(args)
|
||||
.UseContentRoot(AppDomain.CurrentDomain.BaseDirectory)
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
}
|
||||
else
|
||||
{
|
||||
return WebHost.CreateDefaultBuilder(args)
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
}
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// return WebHost.CreateDefaultBuilder(args)
|
||||
// .UseStartup<Startup>()
|
||||
// .Build();
|
||||
//}
|
||||
|
||||
// this didn't work... its too late, idk...
|
||||
//var builder = WebHost.CreateDefaultBuilder(args);
|
||||
|
||||
Reference in New Issue
Block a user