Skip to content

Commit

Permalink
Keep CLI open if launched from explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
idolize committed Aug 20, 2020
1 parent a51bd78 commit 02fc046
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions SaberSongPatcher/SaberSongPatcherCLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ static async Task<int> Main(string[] args)
finally
{
LogManager.Shutdown();
if (string.IsNullOrEmpty(Environment.GetEnvironmentVariable("PROMPT")))
{
Console.WriteLine("Press any key to exit");
Console.ReadKey();
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<PackageId>SaberSongPatcher</PackageId>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SaberSongPatcherCommon\SaberSongPatcherCommon.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.13" />
<PackageReference Include="NLog" Version="4.7.3" />
Expand Down

0 comments on commit 02fc046

Please sign in to comment.