1 Commits

Author SHA1 Message Date
YuZhiYuanDev
8042df9a81 Simplify the Implementation of 'allow custom.txt' on Android 2025-08-11 17:14:33 +08:00

View File

@@ -384,9 +384,8 @@ jobs:
continue-on-error: true
shell: bash
run: |
sed -i -e '/const KEY:/,/};/d' ./src/common.rs
sed -i -e '/let Ok(data) = sign::verify(&data, &pk)/,/};/d' ./src/common.rs
# sed -i '/intl:/a \ \ archive: ^3.6.1' ./flutter/pubspec.yaml
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff
git apply allowCustom.diff
- name: fix connection delay
continue-on-error: true