TimothyYe / godns

A dynamic DNS client tool that supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
https://timothyye.github.io/godns/
Apache License 2.0
1.49k stars 218 forks source link

how to hidden cmd window in widnows #208

Closed zyc63959 closed 4 months ago

zyc63959 commented 1 year ago

when it run , every time there is cmd window in windows ,how to hidden it

TimothyYe commented 1 year ago

https://github.com/TimothyYe/godns#as-a-windows-service

You may try to run it as a Windows service.

zyc63959 commented 1 year ago

thanks. but i wouldn't like to use NSSM that it is not friendly to me . could you add a funciton to hidden cmd windows ?

TimothyYe commented 1 year ago

You may also try with:

Create a shortcut: Create a shortcut for the command-line program and modify the shortcut properties to run the program in a hidden window. Right-click on the shortcut, select "Properties," go to the "Shortcut" tab, and choose "Run: Minimized" or "Run: Hidden" in the "Run" dropdown menu.