From 8042df9a812995a35280eb59af063316524febe3 Mon Sep 17 00:00:00 2001 From: YuZhiYuanDev <203504060+YuZhiYuanDev@users.noreply.github.com> Date: Mon, 11 Aug 2025 17:14:33 +0800 Subject: [PATCH] Simplify the Implementation of 'allow custom.txt' on Android --- .github/workflows/generator-android.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generator-android.yml b/.github/workflows/generator-android.yml index 792875d..6a2049b 100644 --- a/.github/workflows/generator-android.yml +++ b/.github/workflows/generator-android.yml @@ -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