update go 1.25 & fix

This commit is contained in:
armv9 2025-09-07 14:32:42 +09:00
parent 46771b07d1
commit 52a5825df7
4 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/setup-go@v5
with:
go-version: ^1.24
go-version: ^1.25
- name: Native Build
if: steps.cache.outputs.cache-hit != 'true'
run: ./run lib core

View File

@ -33,7 +33,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/setup-go@v5
with:
go-version: ^1.24
go-version: ^1.25
- name: Native Build
if: steps.cache.outputs.cache-hit != 'true'
run: ./run lib core

View File

@ -14,6 +14,7 @@ import (
"github.com/matsuridayo/libneko/neko_common"
"github.com/matsuridayo/libneko/neko_log"
"github.com/sagernet/sing-box/nekoutils"
"github.com/sagernet/sing-box/option"
"golang.org/x/sys/unix"
)
@ -43,7 +44,7 @@ func InitCore(process, cachePath, internalAssets, externalAssets string,
intfNB4A = if1
intfBox = if2
useProcfs = intfBox.UseProcFS()
gLocalDNSTransport = &platformLocalDNSTransport{iif: if3}
gLocalDNSTransport = newPlatformTransport(if3, "", option.LocalDNSServerOptions{})
// Working dir
tmp := filepath.Join(cachePath, "../no_backup")

View File

@ -1,4 +1,4 @@
PACKAGE_NAME=moe.nb4a
VERSION_NAME=1.3.9
PRE_VERSION_NAME=pre-1.4.0-20250906-2
PRE_VERSION_NAME=pre-1.4.0-20250907-1
VERSION_CODE=43