mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-18 22:20:06 +08:00
update go 1.25 & fix
This commit is contained in:
parent
46771b07d1
commit
52a5825df7
2
.github/workflows/preview.yml
vendored
2
.github/workflows/preview.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ^1.24
|
go-version: ^1.25
|
||||||
- name: Native Build
|
- name: Native Build
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: ./run lib core
|
run: ./run lib core
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ^1.24
|
go-version: ^1.25
|
||||||
- name: Native Build
|
- name: Native Build
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: ./run lib core
|
run: ./run lib core
|
||||||
|
|||||||
@ -14,6 +14,7 @@ import (
|
|||||||
"github.com/matsuridayo/libneko/neko_common"
|
"github.com/matsuridayo/libneko/neko_common"
|
||||||
"github.com/matsuridayo/libneko/neko_log"
|
"github.com/matsuridayo/libneko/neko_log"
|
||||||
"github.com/sagernet/sing-box/nekoutils"
|
"github.com/sagernet/sing-box/nekoutils"
|
||||||
|
"github.com/sagernet/sing-box/option"
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -43,7 +44,7 @@ func InitCore(process, cachePath, internalAssets, externalAssets string,
|
|||||||
intfNB4A = if1
|
intfNB4A = if1
|
||||||
intfBox = if2
|
intfBox = if2
|
||||||
useProcfs = intfBox.UseProcFS()
|
useProcfs = intfBox.UseProcFS()
|
||||||
gLocalDNSTransport = &platformLocalDNSTransport{iif: if3}
|
gLocalDNSTransport = newPlatformTransport(if3, "", option.LocalDNSServerOptions{})
|
||||||
|
|
||||||
// Working dir
|
// Working dir
|
||||||
tmp := filepath.Join(cachePath, "../no_backup")
|
tmp := filepath.Join(cachePath, "../no_backup")
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
PACKAGE_NAME=moe.nb4a
|
PACKAGE_NAME=moe.nb4a
|
||||||
VERSION_NAME=1.3.9
|
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
|
VERSION_CODE=43
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user