From 9edafa75e7ebd713ee978bc32b121aa43db5f8c8 Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Thu, 4 Jul 2024 22:34:48 +0800 Subject: [PATCH] build: remove unused resource file --- scripts/check.mjs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/check.mjs b/scripts/check.mjs index 335bd6c..19e2ac6 100644 --- a/scripts/check.mjs +++ b/scripts/check.mjs @@ -400,16 +400,6 @@ const resolveUninstall = () => { }); }; -const resolveSetDnsScript = () => - resolveResource({ - file: "set_dns.sh", - downloadURL: `https://github.com/clash-verge-rev/set-dns-script/releases/download/script/set_dns.sh`, - }); -const resolveUnSetDnsScript = () => - resolveResource({ - file: "unset_dns.sh", - downloadURL: `https://github.com/clash-verge-rev/set-dns-script/releases/download/script/unset_dns.sh`, - }); const resolveMmdb = () => resolveResource({ file: "Country.mmdb", @@ -449,8 +439,6 @@ const tasks = [ { name: "service", func: resolveService, retry: 5 }, { name: "install", func: resolveInstall, retry: 5 }, { name: "uninstall", func: resolveUninstall, retry: 5 }, - { name: "set_dns_script", func: resolveSetDnsScript, retry: 5 }, - { name: "unset_dns_script", func: resolveUnSetDnsScript, retry: 5 }, { name: "mmdb", func: resolveMmdb, retry: 5 }, { name: "geosite", func: resolveGeosite, retry: 5 }, { name: "geoip", func: resolveGeoIP, retry: 5 },