Skip to content

Commit f8a63e9

Browse files
committed
remove ads
1 parent 3011f63 commit f8a63e9

2 files changed

Lines changed: 3 additions & 44 deletions

File tree

bin/litegapps-functions

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,10 @@ get_android_codename(){
143143
29) echo "Quince Tart" ;;
144144
30) echo "Red Velvet Cake" ;;
145145
31) echo "Snow Cone" ;;
146-
32) echo "Snow Cone" ;;
146+
32) echo "Snow Cone V2" ;;
147147
33) echo "Tiramisu" ;;
148148
34) echo "Upside Down Cake" ;;
149+
35) echo "Vanilla Ice Cream" ;;
149150
*) echo "null" ;;
150151
esac
151152
}
@@ -302,6 +303,7 @@ get_android_version(){
302303
32) echo 12.1 ;;
303304
33) echo 13.0 ;;
304305
34) echo 14.0 ;;
306+
35) echo 15.0 ;;
305307
*) echo null ;;
306308
esac
307309
}
@@ -345,44 +347,6 @@ litegappsx(){
345347

346348
}
347349

348-
349-
app_true(){
350-
351-
pm list packages | grep -q $1
352-
if [ $? -eq "0" ]; then
353-
return 0
354-
else
355-
return 1
356-
fi
357-
358-
}
359-
ADS_START(){
360-
local ads_link=$1
361-
362-
if $(app_true com.android.chrome); then
363-
am start -n com.android.chrome/com.google.android.apps.chrome.Main -a android.intent.action.VIEW -d $ads_link >> $log
364-
elif $(app_true com.chrome.canary); then
365-
am start -n com.chrome.canary/com.google.android.apps.chrome.Main -a android.intent.action.VIEW -d $ads_link >> $log
366-
elif $(app_true com.chrome.beta); then
367-
am start -n com.chrome.beta/com.google.android.apps.chrome.Main -a android.intent.action.VIEW -d $ads_link >> $log
368-
elif $(app_true com.chrome.dev); then
369-
am start -n com.chrome.dev/com.google.android.apps.chrome.Main -a android.intent.action.VIEW -d $ads_link >> $log
370-
else
371-
am start -a android.intent.action.VIEW -d $ads_link >> $log
372-
fi
373-
}
374-
375-
376-
ADS(){
377-
if [ $BOOTMODE = true ] && [ ! -f /sdcard/wahyu6070 ]; then
378-
printlog "- Opening Ads"
379-
ADS_START $1
380-
sleep 15s
381-
else
382-
sedlog "- Ads is not running"
383-
fi
384-
}
385-
386350
INITIAL(){
387351
local mode=$1
388352
#path

customize.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ print "- installing binary"
2121
test ! -d $BIN && mkdir -p $BIN
2222
cp -af $MODPATH/bin/$ARCH/* $BASE/bin/
2323

24-
ADS https://lovinghosethus.com/c2pv7f14tk?key=d8f2cbfe01d5df5e72b2c36ce505a08f
25-
2624
#curl
2725
print "- installing curl"
2826
if [ -d /dev/block/mapper ]; then
@@ -88,9 +86,6 @@ for F in $LIST_TMP; do
8886
done
8987

9088

91-
ADS https://lovinghosethus.com/c2pv7f14tk?key=d8f2cbfe01d5df5e72b2c36ce505a08f
92-
93-
9489
print
9590
print "*Tips"
9691
print

0 commit comments

Comments
 (0)