From c8345fb7ffa77b566e48ed5243703c32e681d97e Mon Sep 17 00:00:00 2001 From: Connection Refused Date: Mon, 18 Oct 2021 02:36:51 +0800 Subject: [PATCH] [General] Update build.ps1 --- Storage/i18n/zh-CN.json | 3 +++ Storage/mode/Global.json | 15 +++++++++++++++ build.ps1 | 4 ++-- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 Storage/i18n/zh-CN.json create mode 100644 Storage/mode/Global.json diff --git a/Storage/i18n/zh-CN.json b/Storage/i18n/zh-CN.json new file mode 100644 index 00000000..d701029e --- /dev/null +++ b/Storage/i18n/zh-CN.json @@ -0,0 +1,3 @@ +{ + ":": ":" +} \ No newline at end of file diff --git a/Storage/mode/Global.json b/Storage/mode/Global.json new file mode 100644 index 00000000..4e8c72bf --- /dev/null +++ b/Storage/mode/Global.json @@ -0,0 +1,15 @@ +{ + "type": 0, + "filterLoopback": false, + "filterIntranet": true, + "filterICMP": true, + "filterTCP": true, + "filterUDP": true, + "filterDNS": true, + "bypass": [ + "\\Netch\\" + ], + "handle": [ + ".*" + ] +} \ No newline at end of file diff --git a/build.ps1 b/build.ps1 index ef303b68..452e2179 100644 --- a/build.ps1 +++ b/build.ps1 @@ -31,8 +31,8 @@ New-Item -ItemType Directory -Name $OutputPath | Out-Null Push-Location $OutputPath New-Item -ItemType Directory -Name 'bin' | Out-Null -New-Item -ItemType Directory -Name 'mode' | Out-Null -New-Item -ItemType Directory -Name 'i18n' | Out-Null +cp -Recurse -Force '..\Storage\i18n' '.' | Out-Null +cp -Recurse -Force '..\Storage\mode' '.' | Out-Null Pop-Location if ( -Not ( Test-Path '.\Other\release' ) ) {