JohanChane / clashtui

Mihomo (Clash.Meta) TUI Client
MIT License
282 stars 6 forks source link

still tries to update profile with proxy after stopped mihomo service #20

Closed ogios closed 6 months ago

ogios commented 7 months ago

screenshot

image image

version

 ▦ app/clashtui 14:29
◉ ./clashtui --version
0.2.1

update with wget myself (success)

 ▦ clashtui/profile_cache ▶  14:22
◇┈⊘ wget "http://*****/***/************?clash=1&extend=1" -O test.yaml
--2024-04-24 14:22:38--  http://*****/***/************?clash=1&extend=1
Resolving ***** (*****)... *.*.*.*
Connecting to ***** (*****)|*.*.*.*|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://*****/***/************?clash=1&extend=1 [following]
--2024-04-24 14:22:40--  http://*****/***/************?clash=1&extend=1
Resolving ***** (*****)... *.*.*.*
Connecting to ***** (*****)|*.*.*.*|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 680351 (664K) [application/octet-stream]
Saving to: ‘test.yaml’

test.yaml                              100%[==========================================================================>] 664.41K  3.12MB/s    in 0.2s    

2024-04-24 14:22:40 (3.12 MB/s) - ‘test.yaml’ saved [680351/680351]

[1]+  Done                    wget http://*****/***/************?clash=1&extend=1
JohanChane commented 7 months ago

try:

ogios commented 7 months ago

@JohanChane Linux ok, but one more thing, i have to restart clashtui after stopped mihomo service, the status isn't updated: image image

JohanChane commented 7 months ago

Thank you for your feedback. I will refine it when I have time later.