Closed ilharp closed 2 years ago
调研已结束,上述方法不可使用,该问题无解。
将使用类 Bootstrap 方式实现需求。
调研已修正,上述方法可以使用,该问题有解。
将使用上述方法实现需求。
Defect: Windows Terminal will only hide its window.
Related:
https://github.com/hetrodoo/hetrodo-node-hide-console-window-napi/issues/4
https://github.com/microsoft/terminal/commit/997b4acce5b6de63f9414340ccdfa9b9e7bc2ad7
Solution:
Describe workarounds below in our documents.
Enable Options -> Use Legacy Console
in executable properties
Use shortcuts provided by MSI installer (start using conhost
)
使用以下方法解决:
构建 Console Application 后,启动时调用