From aebe5d4a6eeb7d9318418de2a89e28fd45d177cc Mon Sep 17 00:00:00 2001 From: brahma Date: Sat, 19 Mar 2022 22:02:55 +0100 Subject: [PATCH] Upload files to '' --- README.md | 6 +++--- main.ps1 | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 main.ps1 diff --git a/README.md b/README.md index 660ac1c..230d13a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# systemappremover - -Delete junk built-in android apps. Needs ADB in PATH. \ No newline at end of file +# systemappremover + +Deletes built-in android apps. Like ader but more manual. Needs ADB in PATH. diff --git a/main.ps1 b/main.ps1 new file mode 100644 index 0000000..130c860 --- /dev/null +++ b/main.ps1 @@ -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 +} \ No newline at end of file