Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiraSora committed Oct 26, 2024
1 parent 46e0b6c commit ea80db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions OngekiFumenEditor/AppBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ protected override void OnStartup(object sender, StartupEventArgs e)
public async void OnStartupForCMD(object sender, StartupEventArgs e)
{
IsGUIMode = false;
Log.Instance.RemoveOutput<ConsoleLogOutput>();

await IoC.Get<ISchedulerManager>().Init();

var executor = IoC.Get<ICommandExecutor>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ internal class DefaultCommandExecutor : ICommandExecutor
private readonly RootCommand rootCommand;

public DefaultCommandExecutor()
{
Log.Instance.RemoveOutput<ConsoleLogOutput>();

{
rootCommand = new RootCommand("CommandLine for OngekiFumenEditor");
rootCommand.AddCommand(GenerateVerbCommands<GenerateOption>("svg", Resources.ProgramCommandDescriptionSvg, ProcessSvgCommand));
rootCommand.AddCommand(GenerateVerbCommands<FumenConvertOption>("convert", Resources.ProgramCommandConvert, ProcessConvertCommand));
Expand Down

0 comments on commit ea80db9

Please sign in to comment.