shadowsocks / shadowsocks-qt5

A cross-platform shadowsocks GUI client
GNU Lesser General Public License v3.0
7.97k stars 2.33k forks source link

Fail to import gui-config.json in 3.0.1 #801

Closed zdyang closed 5 years ago

zdyang commented 5 years ago

I used shadowsocks-qt5 3.0.1 (appimage version) on Ubuntu 18.04 LTS. I failed to import my configurations from a gui-config.json file. Once I tried to import a gui-config.json file, a Edit Profile dialog with blank entries pops up. I have read Issue #562 but did not fix it. A sample json file is attached. Thanks for your work and any help will be appreciated.

{
    "configs": [
        {
            "method": "chacha20-ietf",
            "password": "password",
            "remarks": "sample",
            "server": "sample.ss.site",
            "server_port": 8388
        },
        {
            "method": "chacha20-ietf",
            "password": "password",
            "remarks": "sample2",
            "server": "sample2.ss.site",
            "server_port": 8388
        }
    ],
    "localPort": 1080,
    "shareOverLan": false
}
zdyang commented 5 years ago

Solved. Import the file from File->import