v1.4.1
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
node-version: 25
|
||||
- name: Install dependencies and build frontend
|
||||
run: |
|
||||
cd frontend
|
||||
|
||||
@@ -19,11 +19,10 @@ on:
|
||||
- 's-ui.service'
|
||||
|
||||
env:
|
||||
NODE_VERSION: "24"
|
||||
CRONET_GO_VERSION: "cba7b9ac0399055aa49fbdc57c03c374f58e1597"
|
||||
NODE_VERSION: "25"
|
||||
CRONET_GO_VERSION: "2fef65f9dba90ddb89a87d00a6eb6165487c10c1"
|
||||
CRONET_GO_REPO: https://github.com/sagernet/cronet-go.git
|
||||
BOOTLIN_BASE_URL: https://toolchains.bootlin.com/downloads/releases/toolchains
|
||||
CHROMIUM_CACHE_KEY_SUFFIX: musl-cba7b9ac0399055aa49fbdc57c03c374f58e1597
|
||||
|
||||
jobs:
|
||||
build-frontend:
|
||||
@@ -45,7 +44,7 @@ jobs:
|
||||
- name: Build frontend
|
||||
run: |
|
||||
cd frontend
|
||||
npm ci
|
||||
npm install
|
||||
npm run build
|
||||
cd ..
|
||||
|
||||
@@ -115,7 +114,7 @@ jobs:
|
||||
~/cronet-go/naiveproxy/src/gn/out/
|
||||
~/cronet-go/naiveproxy/src/chrome/build/pgo_profiles/
|
||||
~/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)
|
||||
if: matrix.naive
|
||||
|
||||
@@ -18,7 +18,7 @@ on:
|
||||
- 'windows/**'
|
||||
|
||||
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"
|
||||
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 {
|
||||
return uint32(time.Now().Sub(s.createdAt).Seconds())
|
||||
return uint32(time.Since(s.createdAt).Seconds())
|
||||
}
|
||||
|
||||
func (s *Box) Network() adapter.NetworkManager {
|
||||
|
||||
+1
-1
Submodule frontend updated: 1a62b65513...f65f58efbd
Reference in New Issue
Block a user