Skip to content

Commit 52a5825

Browse files
committed
update go 1.25 & fix
1 parent 46771b0 commit 52a5825

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: steps.cache.outputs.cache-hit != 'true'
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: ^1.24
27+
go-version: ^1.25
2828
- name: Native Build
2929
if: steps.cache.outputs.cache-hit != 'true'
3030
run: ./run lib core

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: steps.cache.outputs.cache-hit != 'true'
3434
uses: actions/setup-go@v5
3535
with:
36-
go-version: ^1.24
36+
go-version: ^1.25
3737
- name: Native Build
3838
if: steps.cache.outputs.cache-hit != 'true'
3939
run: ./run lib core

libcore/nb4a.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
"github.com/matsuridayo/libneko/neko_common"
1515
"github.com/matsuridayo/libneko/neko_log"
1616
"github.com/sagernet/sing-box/nekoutils"
17+
"github.com/sagernet/sing-box/option"
1718
"golang.org/x/sys/unix"
1819
)
1920

@@ -43,7 +44,7 @@ func InitCore(process, cachePath, internalAssets, externalAssets string,
4344
intfNB4A = if1
4445
intfBox = if2
4546
useProcfs = intfBox.UseProcFS()
46-
gLocalDNSTransport = &platformLocalDNSTransport{iif: if3}
47+
gLocalDNSTransport = newPlatformTransport(if3, "", option.LocalDNSServerOptions{})
4748

4849
// Working dir
4950
tmp := filepath.Join(cachePath, "../no_backup")

nb4a.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
PACKAGE_NAME=moe.nb4a
22
VERSION_NAME=1.3.9
3-
PRE_VERSION_NAME=pre-1.4.0-20250906-2
3+
PRE_VERSION_NAME=pre-1.4.0-20250907-1
44
VERSION_CODE=43

0 commit comments

Comments
 (0)