Simplify the Implementation of 'allow custom.txt' on Android

This commit is contained in:
YuZhiYuanDev
2025-08-11 17:14:33 +08:00
parent c53548dcce
commit 8042df9a81

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