Closed preegnees closed 2 years ago
Where did you add this line? In my case, looks fine:
This is what my config looks like, I have now done everything again, and it is also reset. I don't understand why this is happening, it's weird. That is, it generates it again at startup and does not remember my changes.
It should be User-Agent
, not userAgent
.
Are you using version 4.4.1.0 and running it creates a "gui-config.json" file with a "User-Agent" field? It's just that I have a "userAgent" field created and I can't change it, because the application updates "gui-config.json" with default values on every launch.
I think I figured out what had happened here: I'm still using 4.3.3.0 version.
Can you try this version? https://github.com/shadowsocks/shadowsocks-windows/releases/tag/4.3.3.0
Lol doesn't work either. I don't understand how such an error can occur. I have also tried older versions and nothing has changed.
Update: Can you try this?
"userAgent": "test/$version",
Thank you very much, it worked, I just disabled "Shadowsocks" through another button.
Describe the bug
When I changed the "user-agent" in the "gui-config.json" file and started Shadowsocks, then settings reset. The same thing happens when you disable the app. I mean that I can't change the default settings. I couldn't find where exactly in the code this happens. At the same time, after changing the source code, I noticed that in order for the settings to change, you also need to change the name of the configuration file "gui-config.json" (for example, to "gui_config.json"). I don't know why it happens, but it's not the main bug.
Environment
Steps you have tried
What did you expect to see?
I expected the settings to be saved.
What did you see instead?
I saw the default settings.