fix: widget_dark.sh: also remove manifest things

fixes resource compilation error due to missing resources

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2025-08-11 16:19:45 +07:00
commit f0032c0db3

View file

@ -10,3 +10,7 @@ cp -f 'blob_patches/widget_dark/bg_4x2.png' 'mbapk/mbapk_unpacked/res/drawable-x
cp -f 'blob_patches/widget_dark/bg_4x4.png' 'mbapk/mbapk_unpacked/res/drawable-xxhdpi/'
echo "Removing [mbb_home_widget_qr_info.xml]..."
rm -f 'mbapk/mbapk_unpacked/res/xml/mbb_home_widget_qr_info.xml'
echo "Patching [public.xml]..."
sed -i 's|<public type="xml" name="mbb_home_widget_qr_info" id="0x7f15000b" />||g' 'mbapk/mbapk_unpacked/res/values/public.xml'
echo "Patching [AndroidManifest.xml]..."
sed -i 's|<meta-data android:name="android.appwidget.provider" android:resource="@xml/mbb_home_widget_qr_info"/>||g' 'mbapk/mbapk_unpacked/AndroidManifest.xml'