Skip to content

Instantly share code, notes, and snippets.

@avipars
Created August 28, 2018 19:08
Show Gist options
  • Save avipars/4232034dfc945bd662f617520912fc30 to your computer and use it in GitHub Desktop.
Save avipars/4232034dfc945bd662f617520912fc30 to your computer and use it in GitHub Desktop.
Medium Post: Proguard Script
Dim WshShell, BtnCode, strCurDir
REM open_url opens in chrome, it should be set to the URL where you can upload your Deobfuscation (Mapping) File on the Dev Console
open_url = "ENTER_URL_HERE"
Set WshShell = WScript.CreateObject("WScript.Shell")
BtnCode = WshShell.Popup("Open the mapping file", 7, "Mapping Android APK:", 4 + 32)
Select Case BtnCode
case 6 WshShell.run "chrome -url " &open_url
strCurDir = WshShell.CurrentDirectory
WshShell.run strCurDir & "\app\build\outputs\mapping\release"
case 7 WScript.Echo "Okay :("
case -1 WScript.Echo "No Response?"
End Select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment