We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用以下方法解决:
构建 Console Application 后,启动时调用
import "github.com/gonutz/w32/v2" func hideConsole() { console := w32.GetConsoleWindow() if console == 0 { return } _, consoleProcID := w32.GetWindowThreadProcessId(console) if w32.GetCurrentProcessId() == consoleProcID { w32.ShowWindowAsync(console, w32.SW_HIDE) } }
The text was updated successfully, but these errors were encountered:
调研已结束,上述方法不可使用,该问题无解。
将使用类 Bootstrap 方式实现需求。
Sorry, something went wrong.
feat(app): try to hide window using --no-console
--no-console
c044718
Investigating #63
调研已修正,上述方法可以使用,该问题有解。
将使用上述方法实现需求。
Fixed by:
d340318
bd2ba4c
Defect: Windows Terminal will only hide its window.
Related:
Terminal version of GetWindowRect(GetConsoleWindow(), ...)? microsoft/terminal#12116
Propagate show/hide window calls against the ConPTY pseudo window to the Terminal microsoft/terminal#12515
[BREAKING] "Invalid option a", due to Win11 Default Terminal Swap nzbget/nzbget#792
Support Windows Terminal hetrodoo/node-hide-console-window#4
microsoft/terminal@997b4ac
windows rclone with --no-console key, default Windows Terminal rclone/rclone#6230
[Bug Report] Console is appearing again on stash.exe launch as of 0.15.0 stashapp/stash#2598
-no-console option does not work when Windows Terminal is set as Default Terminal application syncthing/syncthing#8046
https://blogs.windows.com/windows-insider/2022/08/24/announcing-windows-11-insider-preview-build-25188
Solution:
Describe workarounds below in our documents.
Enable Options -> Use Legacy Console in executable properties
Options -> Use Legacy Console
Use shortcuts provided by MSI installer (start using conhost)
conhost
ilharp
No branches or pull requests
使用以下方法解决:
构建 Console Application 后,启动时调用
The text was updated successfully, but these errors were encountered: