mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
[General] Update build.ps1
This commit is contained in:
3
Storage/i18n/zh-CN.json
Normal file
3
Storage/i18n/zh-CN.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
":": ":"
|
||||
}
|
||||
15
Storage/mode/Global.json
Normal file
15
Storage/mode/Global.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": 0,
|
||||
"filterLoopback": false,
|
||||
"filterIntranet": true,
|
||||
"filterICMP": true,
|
||||
"filterTCP": true,
|
||||
"filterUDP": true,
|
||||
"filterDNS": true,
|
||||
"bypass": [
|
||||
"\\Netch\\"
|
||||
],
|
||||
"handle": [
|
||||
".*"
|
||||
]
|
||||
}
|
||||
@@ -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' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user