kenzok8-package/sub-web/patches/020-views-add-examples-from-ACL4SSR-and-Subconverter.patch
2023-01-28 01:28:48 +08:00

124 lines
5.2 KiB
Diff

From 0092ddca7faa480e07184c157e992badd4eef633 Mon Sep 17 00:00:00 2001
From: CN_SZTL <cnsztl@project-openwrt.eu.org>
Date: Mon, 11 Jan 2021 11:57:19 +0000
Subject: [PATCH] views: add examples from ACL4SSR and Subconverter
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
---
src/views/Subconverter.vue | 104 +++++++++++++++++++++++++++++++++++++
1 file changed, 104 insertions(+)
--- a/src/views/Subconverter.vue
+++ b/src/views/Subconverter.vue
@@ -299,6 +299,110 @@ export default {
backendOptions: [{ value: "http://127.0.0.1:25500/sub?" }],
remoteConfig: [
{
+ label: "默认",
+ options: [
+ {
+ label: "不选,由接口提供方提供",
+ value: ""
+ }
+ ]
+ },
+ {
+ label: "ACL4SSR",
+ options: [
+ {
+ label: "ACL4SSR_Online 默认版 分组比较全 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online.ini"
+ },
+ {
+ label: "ACL4SSR_Online_AdblockPlus 更多去广告 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_AdblockPlus.ini"
+ },
+ {
+ label: "ACL4SSR_Online_NoAuto 无自动测速 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_NoAuto.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Mini 精简版 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Mini.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Mini_AdblockPlus.ini 精简版 更多去广告 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Mini_AdblockPlus.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Mini_NoAuto.ini 精简版 不带自动测速 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Mini_NoAuto.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Mini_Fallback.ini 精简版 带故障转移 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Mini_Fallback.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Mini_MultiMode.ini 精简版 自动测速、故障转移、负载均衡 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Mini_MultiMode.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Full 全分组 重度用户使用 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Full.ini"
+ },
+ {
+ label: "ACL4SSR_Online_Full_AdblockPlus 全分组 重度用户使用 更多去广告 (与Github同步)",
+ value:
+ "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Online_Full_AdblockPlus.ini"
+ },
+ {
+ label: "ACL4SSR 本地 默认版 分组比较全",
+ value: "config/ACL4SSR.ini"
+ },
+ {
+ label: "ACL4SSR_Mini 本地 精简版",
+ value: "config/ACL4SSR_Mini.ini"
+ },
+ {
+ label: "ACL4SSR_Mini_NoAuto.ini 本地 精简版+无自动测速",
+ value: "config/ACL4SSR_Mini_NoAuto.ini"
+ },
+ {
+ label: "ACL4SSR_Mini_Fallback.ini 本地 精简版+fallback",
+ value: "config/ACL4SSR_Mini_Fallback.ini"
+ },
+ {
+ label: "ACL4SSR_BackCN 本地 回国",
+ value: "config/ACL4SSR_BackCN.ini"
+ },
+ {
+ label: "ACL4SSR_NoApple 本地 无苹果分流",
+ value: "config/ACL4SSR_NoApple.ini"
+ },
+ {
+ label: "ACL4SSR_NoAuto 本地 无自动测速 ",
+ value: "config/ACL4SSR_NoAuto.ini"
+ },
+ {
+ label: "ACL4SSR_NoAuto_NoApple 本地 无自动测速&无苹果分流",
+ value: "config/ACL4SSR_NoAuto_NoApple.ini"
+ },
+ {
+ label: "ACL4SSR_NoMicrosoft 本地 无微软分流",
+ value: "config/ACL4SSR_NoMicrosoft.ini"
+ },
+ {
+ label: "ACL4SSR_WithGFW 本地 GFW列表",
+ value: "config/ACL4SSR_WithGFW.ini"
+ }
+ ]
+ },
+ {
label: "universal",
options: [
{