Revert "feature: windows的系统代理排除列表中,排除掉中国域名白名单,并提供自动更新中国域名白名单的功能"

This reverts commit ad19c7a262.
This commit is contained in:
王良
2024-09-27 22:30:59 +08:00
parent ad19c7a262
commit 1af4bfe6b8
6 changed files with 4 additions and 1387 deletions

View File

@@ -19,7 +19,7 @@ function createPacClient (pacFilePath) {
const getRules = function (pacFilePath) {
let text = readFile(pacFilePath)
if (text.indexOf('!---------------------EOF') < 0) {
if (text.indexOf('!---------------------EOF') === -1) {
text = Buffer.from(text, 'base64').toString()
}
const rules = []