From e839494a5db48dfcc9be040e25b7e8a775a3a70f Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Wed, 13 Nov 2024 21:06:16 +0800 Subject: [PATCH] Update META.js --- META.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/META.js b/META.js index 3f44086..87e3936 100644 --- a/META.js +++ b/META.js @@ -405,6 +405,13 @@ const proxyGroups = [ "include-all": true, icon: `${BASE_ICON_SET_URL}Static.png`, }, + { + ...proxyGroupDefaults, + name: "VS Code", + type: "select", + proxies: [...serviceProxyGroupProxies], + icon: extractFavicon("code.visualstudio.com"), + }, ...generateServiceProxyGroups(services, proxyGroupDefaults), { ...proxyGroupDefaults, @@ -476,6 +483,7 @@ function generateServiceRules(services) { } const rules = [ + "PROCESS-NAME,Code.exe,VS Code", "RULE-SET,applications,DIRECT", "RULE-SET,lancidr,DIRECT,no-resolve", "RULE-SET,private,DIRECT",