Upload files to ''

This commit is contained in:
brahma 2022-03-19 22:02:55 +01:00
parent 08bdfdd77c
commit aebe5d4a6e
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# systemappremover
Delete junk built-in android apps. Needs ADB in PATH.
# systemappremover
Deletes built-in android apps. Like ader but more manual. Needs ADB in PATH.

13
main.ps1 Normal file
View File

@ -0,0 +1,13 @@
[void][Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
$package = [Microsoft.VisualBasic.Interaction]::InputBox("Enter the package name/Google Play Store link:", "Package Name")
if ($package -like "*play.google.com/store/apps/details*") {
$package += "&dummy=1"
$id = $package -split "\?id="
$id = $id[1] -split "\&"
$id = $id[0]
$package = $id
adb shell pm uninstall --user 0 $package
}
else {
adb shell pm uninstall --user 0 $package
}