diff --git a/src/views/Subconverter.vue b/src/views/Subconverter.vue
index b32cc1d..f1db4ff 100644
--- a/src/views/Subconverter.vue
+++ b/src/views/Subconverter.vue
@@ -79,6 +79,9 @@
+
+
+
@@ -298,6 +301,16 @@ export default {
value:
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/nexitally.ini"
},
+ {
+ label: "SoCloud",
+ value:
+ "https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/socloud.ini"
+ },
+ {
+ label: "ARK",
+ value:
+ "https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/ark.ini"
+ },
{
label: "贼船",
value:
@@ -307,11 +320,6 @@ export default {
label: "布丁",
value:
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/pud.ini"
- },
- {
- label: "SoCloud",
- value:
- "https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/socloud.ini"
}
]
},
@@ -349,7 +357,8 @@ export default {
scv: false,
fdn: false,
appendType: false,
- insert: false, // 是否插入默认订阅的节点,对应配置项 insert_url
+ insert: true, // 是否插入默认订阅的节点,对应配置项 insert_url
+ new_name: true, // 是否使用 Clash 新字段
// tpl 定制功能
tpl: {
@@ -439,8 +448,8 @@ export default {
"target=" +
this.form.clientType +
"&url=" +
- encodeURIComponent(sourceSub) +
- "&insert=" +
+ encodeURIComponent(sourceSub) +
+ "&insert=" +
this.form.insert;
if (this.advanced === "2") {
@@ -484,8 +493,9 @@ export default {
if (this.form.tpl.surge.doh === true) {
this.customSubUrl += "&surge.doh=true";
}
- if (this.form.tpl.clash.doh === true) {
- this.customSubUrl += "&clash.doh=true";
+
+ if (this.form.clientType === "clash") {
+ this.customSubUrl += "&new_name=" + this.form.new_name.toString();
}
}
@@ -604,7 +614,7 @@ export default {
this.backendVersion = res.data.replace(/backend\n$/gm, "");
this.backendVersion = this.backendVersion.replace("subconverter", "");
});
- },
+ }
}
};