From b6c0b5d3e926a8fb1d47eedc451197a292edd97d Mon Sep 17 00:00:00 2001 From: YZBruh Date: Sat, 13 Jan 2024 21:50:54 +0300 Subject: [PATCH] Hmm --- .github/workflows/rom_dumper.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rom_dumper.yml b/.github/workflows/rom_dumper.yml index 772f22f..1d2ff45 100644 --- a/.github/workflows/rom_dumper.yml +++ b/.github/workflows/rom_dumper.yml @@ -132,12 +132,11 @@ jobs: fi; if [ -d vendor ]; then cd vendor - elif [ -f system/vendor/build.prop ]; then - cd system/vendor - elif [ -f system/system/build.prop ]; then - cd system/system else cd system + if [ -d system ]; then + cd system + fi fi codename=$(grep "ro.product.vendor.device=" build.prop | cut -d'=' -f2) brand=$(grep "ro.product.vendor.brand=" build.prop | cut -d'=' -f2)