9 Commits

Author SHA1 Message Date
UUBulb
fda3a52533
use --debug to replace --silent (#37)
* add --silent to service command

* ?

* use --debug to toggle the logging
2024-07-13 12:47:22 +08:00
UUBulb
3bf3f97767
feat: make logging and temperature monitoring optional (#35)
* feat: make logging and temperature monitoring optional

* chore: improve code style

* fix: import

---------

Co-authored-by: naiba <hi@nai.ba>
2024-07-10 23:58:19 +08:00
xykt
1bf702cfaa
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default (#36)
* Update main.go

Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.

* Update service.go

Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.

* Update myip.go

Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.

* chore: rename

---------

Co-authored-by: naiba <hi@nai.ba>
2024-07-10 23:29:35 +08:00
UUBulb
fb7b45527b
service: logging to syslog (#33)
* service: logging to syslog

* chore: update gopsutil to v4

* chore: move println() to the util package

* gpu: only return 0 on failure
2024-07-05 22:31:56 +08:00
UUBulb
532bca8867
Fix CPU counts error on Windows (#31) 2024-06-25 22:10:32 +08:00
UUBulb
338f0dabbe
feat: Add GPU inspection/monitoring support (#28) 2024-06-23 10:27:18 +08:00
UUBulb
611ad8be20
Support more flags in the service command (#23)
fix for darwin
2024-05-31 21:38:45 +08:00
UUBulb
f882ca3498
Switch to ConPty on Windows 10 & support windows arm64 platform (#20) 2024-05-21 18:40:08 +08:00
UUBulb
060d13a759
Replace pflag with cobra, add service command (#17)
* Replace pflag with cobra, add service command

moved '-c' option to 'edit' command

* Restart after installation & add some friendly outputs

* Attempt to fix ci

* Update dependencies & revert gosec to 2.19.0

gosec 2.19.0 is the last version supports Go 1.20

* Remove gosec checks
2024-05-18 22:38:39 +08:00