BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] PAC 有冗余项目

Open
#1,997 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 🐛 描述(Description)

![image](https://user-images.githubusercontent.com/54498172/189201929-ac086f1e-612a-466f-abf6-b63540bc53b9.png)
既然有了通配符,为什么还要单独写这些包含在通配符中的域名?
![image](https://user-images.githubusercontent.com/54498172/189202731-da7a358b-7aba-401c-bffa-576db3689d62.png)
除了图中的 Twitch 有问题,其它很多网站都有类似不精简的问题。

### 📷 复现步骤(Steps to Reproduce)

1. 使用 PAC 模式进行加速
2. 查看该 PAC 的内容
3. 发现问题

### 📄 日志信息(Log Information)

无需日志
### 🚑 基本信息(Basic Information)

- 程序版本(Program Version): 2.8.4
- 系统版本号(OS Version): Windows 10.19042
- 是否为应用商店版本(Whether it is a Store version): 是(Yes)

### 🖼 截图(Screenshots)

见[描述](https://github.com/BeyondDimension/SteamTools/issues/1997#:~:text=%F0%9F%90%9B-,%E6%8F%8F%E8%BF%B0(Description),-%E6%97%A2%E7%84%B6%E6%9C%89%E4%BA%86%E9%80%9A)
### 🧐 解决方案(Solution)
建议采用正则表达式一行解决所有同服务商下的规则。如:
`/^.*twitch\.tv$/`
`/^(.*\.|)steam((powered|-chat|static|community)\.com|.*-a.akamaihd.net)$/`

我想这应该不是以牺牲体积来优化性能的设计吧😂

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.