mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
Compare commits
2 Commits
24176f5597
...
e404e025fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e404e025fd | ||
|
|
0e38ccbb9d |
10
.github/workflows/autobuild.yml
vendored
10
.github/workflows/autobuild.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
run: bash ./scripts/extract_update_logs.sh
|
||||
shell: bash
|
||||
|
||||
- uses: pnpm/action-setup@v5.0.0
|
||||
- uses: pnpm/action-setup@v6.0.0
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -179,7 +179,7 @@ jobs:
|
||||
echo "OPENSSL_LIB_DIR=$(brew --prefix openssl@3)/lib" >> $GITHUB_ENV
|
||||
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV
|
||||
|
||||
- uses: pnpm/action-setup@v5.0.0
|
||||
- uses: pnpm/action-setup@v6.0.0
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -278,7 +278,7 @@ jobs:
|
||||
cache-workspace-crates: true
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v5.0.0
|
||||
uses: pnpm/action-setup@v6.0.0
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
@ -423,7 +423,7 @@ jobs:
|
||||
cache-workspace-crates: true
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v5.0.0
|
||||
uses: pnpm/action-setup@v6.0.0
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
@ -534,7 +534,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5.0.0
|
||||
- uses: pnpm/action-setup@v6.0.0
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
2
.github/workflows/cross_check.yaml
vendored
2
.github/workflows/cross_check.yaml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
2
.github/workflows/dev.yml
vendored
2
.github/workflows/dev.yml
vendored
@ -93,7 +93,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
if: github.event.inputs[matrix.input] == 'true'
|
||||
with:
|
||||
|
||||
2
.github/workflows/frontend-check.yml
vendored
2
.github/workflows/frontend-check.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
|
||||
- name: Install pnpm
|
||||
if: steps.check_frontend.outputs.frontend == 'true'
|
||||
uses: pnpm/action-setup@v5
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -199,7 +199,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -284,7 +284,7 @@ jobs:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v5
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
@ -422,7 +422,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -507,7 +507,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -533,7 +533,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -595,7 +595,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
2
.github/workflows/telegram-notify.yml
vendored
2
.github/workflows/telegram-notify.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
with:
|
||||
node-version: '24.14.1'
|
||||
|
||||
- uses: pnpm/action-setup@v5
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
@ -150,9 +150,8 @@ impl<T> MihomoWsEventStream<T> {
|
||||
_ = &mut sleep => {
|
||||
if self.last_valid_event_at.elapsed() >= stale_timeout {
|
||||
return StreamConsumeState::Stale;
|
||||
} else {
|
||||
sleep.as_mut().reset(self.last_valid_event_at + stale_timeout);
|
||||
}
|
||||
sleep.as_mut().reset(self.last_valid_event_at + stale_timeout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ thread_local! {
|
||||
/// 托盘速率富文本属性字典(主线程缓存,避免每帧重建 ObjC 对象)。
|
||||
/// 仅在首次调用时初始化,后续复用同一实例。
|
||||
static TRAY_SPEED_ATTRS: Retained<NSDictionary<NSString, AnyObject>> = build_attributes();
|
||||
static LAST_DISPLAY_STR: RefCell<String> = RefCell::new(String::new());
|
||||
static LAST_DISPLAY_STR: RefCell<String> = const { RefCell::new(String::new()) };
|
||||
}
|
||||
|
||||
/// 将上行/下行速率格式化为两行定宽文本
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user