-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
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
Run client in background. 在后台运行客户端。 #33
Comments
add -ldflags="-Hwindowsgui" while compiling to remove the windows GUI. This will make the program run in the background. |
Where to include it?
this is how i built the client. |
inside of build.client.sh there is statements for compiling for windows just add -Hwindowsgui in the ldflags arguments |
does this look right? |
go build -ldflags "-H windowsgui -s -w -X 'Spark/client/config.COMMIT=%COMMIT%'" -o ./built/windows_arm Spark/client Try add it like this, if that does not work take a look here https://stackoverflow.com/questions/23250505/how-do-i-create-an-executable-from-golang-that-doesnt-open-a-console-window-whe |
Any updates I tried all but in the end it just causes more errors ... |
Please make sure of the following things.
Describe the feature / 需求描述
The console window does not run it background, theres a console opened while the application is open. When that window is closed, the connection is lost
控制台窗口不在后台运行,应用程序打开时会打开一个控制台。 当该窗口关闭时,连接丢失
Suggested solution / 实现思路
Ability to run in it background, silently, to be undetectable
能够在其后台运行,静默,不被察觉
Additional information / 附加说明
No response
The text was updated successfully, but these errors were encountered: