Fix QX SSR issue

This commit is contained in:
Peng-YM 2022-06-21 09:24:33 +08:00
parent bca4f06fcd
commit 05b03b5337
4 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.1.0", "version": "2.1.2",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -91,15 +91,15 @@ function shadowsocksr(proxy) {
const append = result.append.bind(result); const append = result.append.bind(result);
const appendIfPresent = result.appendIfPresent.bind(result); const appendIfPresent = result.appendIfPresent.bind(result);
append(`shadowsocksr=${proxy.server}:${proxy.port}`); append(`shadowsocks=${proxy.server}:${proxy.port}`);
append(`,method=${proxy.cipher}`); append(`,method=${proxy.cipher}`);
append(`,password=${proxy.password}`); append(`,password=${proxy.password}`);
// ssr protocol // ssr protocol
append(`,ssr-protocol=${proxy.protocol}`); append(`,ssr-protocol=${proxy.protocol}`);
appendIfPresent( appendIfPresent(
`,ssr-proctol-param=${proxy['proctol-param']}`, `,ssr-protocol-param=${proxy['protocol-param']}`,
'proctol-param', 'protocol-param',
); );
// obfs // obfs

File diff suppressed because one or more lines are too long