Skip to content

Commit

Permalink
fix: run wallet on windows terminal if present. (#3091)
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed Jul 14, 2021
2 parents fffaefa + 6b3bbb1 commit bd017bc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,10 @@ if not exist "%config_path%\log4rs_console_wallet.yml" (
echo.

cd "%base_path%"
rem check if Windows Terminal is in path, if so, run it there, to see emojis properly.
where /q wt
if errorlevel 1 (
"%console_wallet%" %INIT_FLAG% --config "%config_path%\config.toml" --log_config "%config_path%\log4rs_console_wallet.yml" --base-path "%base_path%"
) else (
wt "%console_wallet%" %INIT_FLAG% --config "%config_path%\config.toml" --log_config "%config_path%\log4rs_console_wallet.yml" --base-path "%base_path%"
)

0 comments on commit bd017bc

Please sign in to comment.