Simplify the Implementation of 'allow custom.txt' on Android
This commit is contained in:
5
.github/workflows/generator-android.yml
vendored
5
.github/workflows/generator-android.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user