[General] Update build.ps1

This commit is contained in:
Connection Refused
2021-10-18 02:36:51 +08:00
parent a1240ffa09
commit c8345fb7ff
3 changed files with 20 additions and 2 deletions

3
Storage/i18n/zh-CN.json Normal file
View File

@@ -0,0 +1,3 @@
{
":": ""
}

15
Storage/mode/Global.json Normal file
View File

@@ -0,0 +1,15 @@
{
"type": 0,
"filterLoopback": false,
"filterIntranet": true,
"filterICMP": true,
"filterTCP": true,
"filterUDP": true,
"filterDNS": true,
"bypass": [
"\\Netch\\"
],
"handle": [
".*"
]
}

View File

@@ -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' ) ) {