v1.4.1
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 25
|
||||||
- name: Install dependencies and build frontend
|
- name: Install dependencies and build frontend
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
|
|||||||
@@ -19,11 +19,10 @@ on:
|
|||||||
- 's-ui.service'
|
- 's-ui.service'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: "24"
|
NODE_VERSION: "25"
|
||||||
CRONET_GO_VERSION: "cba7b9ac0399055aa49fbdc57c03c374f58e1597"
|
CRONET_GO_VERSION: "2fef65f9dba90ddb89a87d00a6eb6165487c10c1"
|
||||||
CRONET_GO_REPO: https://github.com/sagernet/cronet-go.git
|
CRONET_GO_REPO: https://github.com/sagernet/cronet-go.git
|
||||||
BOOTLIN_BASE_URL: https://toolchains.bootlin.com/downloads/releases/toolchains
|
BOOTLIN_BASE_URL: https://toolchains.bootlin.com/downloads/releases/toolchains
|
||||||
CHROMIUM_CACHE_KEY_SUFFIX: musl-cba7b9ac0399055aa49fbdc57c03c374f58e1597
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-frontend:
|
build-frontend:
|
||||||
@@ -45,7 +44,7 @@ jobs:
|
|||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
npm ci
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@@ -115,7 +114,7 @@ jobs:
|
|||||||
~/cronet-go/naiveproxy/src/gn/out/
|
~/cronet-go/naiveproxy/src/gn/out/
|
||||||
~/cronet-go/naiveproxy/src/chrome/build/pgo_profiles/
|
~/cronet-go/naiveproxy/src/chrome/build/pgo_profiles/
|
||||||
~/cronet-go/naiveproxy/src/out/sysroot-build/
|
~/cronet-go/naiveproxy/src/out/sysroot-build/
|
||||||
key: chromium-toolchain-${{ matrix.platform }}-${{ env.CHROMIUM_CACHE_KEY_SUFFIX }}
|
key: chromium-toolchain-${{ matrix.platform }}-musl-${{ env.CRONET_GO_VERSION }}
|
||||||
|
|
||||||
- name: Build cronet lib and set toolchain env (CC, CXX, CGO_LDFLAGS, PATH)
|
- name: Build cronet lib and set toolchain env (CC, CXX, CGO_LDFLAGS, PATH)
|
||||||
if: matrix.naive
|
if: matrix.naive
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ on:
|
|||||||
- 'windows/**'
|
- 'windows/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: "24"
|
NODE_VERSION: "25"
|
||||||
TAGS: "with_quic,with_grpc,with_utls,with_acme,with_gvisor,with_naive_outbound,with_purego,badlinkname,tfogo_checklinkname0,with_tailscale"
|
TAGS: "with_quic,with_grpc,with_utls,with_acme,with_gvisor,with_naive_outbound,with_purego,badlinkname,tfogo_checklinkname0,with_tailscale"
|
||||||
LIBCRONET_BASE_URL: "https://github.com/SagerNet/cronet-go/releases/latest/download"
|
LIBCRONET_BASE_URL: "https://github.com/SagerNet/cronet-go/releases/latest/download"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.4.0
|
1.4.1
|
||||||
+1
-1
@@ -560,7 +560,7 @@ func (s *Box) Close() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Box) Uptime() uint32 {
|
func (s *Box) Uptime() uint32 {
|
||||||
return uint32(time.Now().Sub(s.createdAt).Seconds())
|
return uint32(time.Since(s.createdAt).Seconds())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Box) Network() adapter.NetworkManager {
|
func (s *Box) Network() adapter.NetworkManager {
|
||||||
|
|||||||
+1
-1
Submodule frontend updated: 1a62b65513...f65f58efbd
Reference in New Issue
Block a user