target WinExe to hide console window in release mode, move ui exe into resources
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -268,3 +268,6 @@ paket-files/
|
|||||||
/Il2CppInspector.sln.DotSettings
|
/Il2CppInspector.sln.DotSettings
|
||||||
/Il2CppTests/samples
|
/Il2CppTests/samples
|
||||||
/Il2CppTests/TestCpp
|
/Il2CppTests/TestCpp
|
||||||
|
|
||||||
|
# for dotnet-tools.json
|
||||||
|
.config
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
<InvariantGlobalization>true</InvariantGlobalization>
|
<InvariantGlobalization>true</InvariantGlobalization>
|
||||||
<PublishAot>false</PublishAot>
|
<PublishAot>false</PublishAot>
|
||||||
<!-- todo: enable this once the app is aot compliant! -->
|
<!-- todo: enable this once the app is aot compliant! -->
|
||||||
|
<OutputType Condition="'$(Configuration)' == 'Release'">WinExe</OutputType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/launchsettings.json",
|
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"http": {
|
"http": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"dotnetRunMessages": true,
|
|
||||||
"launchBrowser": true,
|
|
||||||
"launchUrl": "todos",
|
|
||||||
"applicationUrl": "http://localhost:5154",
|
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"dotnetRunMessages": true,
|
||||||
|
"applicationUrl": "http://localhost:5154"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
}
|
"$schema": "https://json.schemastore.org/launchsettings.json"
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,8 @@ namespace Il2CppInspector.Redux.GUI;
|
|||||||
|
|
||||||
public class UiProcessService(IHostApplicationLifetime lifetime) : BackgroundService
|
public class UiProcessService(IHostApplicationLifetime lifetime) : BackgroundService
|
||||||
{
|
{
|
||||||
private const string UiExecutableName = "Il2CppInspector.Redux.GUI.UI.exe";
|
// NOTE: this is not really a good solution for getting people to launch the correct program.
|
||||||
|
private const string UiExecutableName = "./resources/il2cppinspectorredux.exe";
|
||||||
|
|
||||||
private Process? _uiProcess;
|
private Process? _uiProcess;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user