diff --git a/packages/dex2jar.vm/dex2jar.vm.nuspec b/packages/dex2jar.vm/dex2jar.vm.nuspec new file mode 100644 index 000000000..ffca58cf9 --- /dev/null +++ b/packages/dex2jar.vm/dex2jar.vm.nuspec @@ -0,0 +1,13 @@ + + + + dex2jar.vm + 2.3 + @pxb1988 + Tools to work with android .dex and java .class files. + + + + + + diff --git a/packages/dex2jar.vm/tools/chocolateyinstall.ps1 b/packages/dex2jar.vm/tools/chocolateyinstall.ps1 new file mode 100644 index 000000000..ad3088e8f --- /dev/null +++ b/packages/dex2jar.vm/tools/chocolateyinstall.ps1 @@ -0,0 +1,10 @@ +$ErrorActionPreference = 'Stop' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'd2j-dex2jar' +$category = 'Java' + +$zipUrl = 'https://github.com/pxb1988/dex2jar/releases/download/v2.3/dex2jar-v2.zip' +$zipSha256 = 'd0507b6277193476ae29351905b5fa9b20d1a9a5ce119b46d87e5b188edf859e' + +VM-Install-From-Zip $toolName $category $zipUrl -zipSha256 $zipSha256 -consoleApp $true -executableName "$toolName.bat" -innerFolder $true diff --git a/packages/dex2jar.vm/tools/chocolateyuninstall.ps1 b/packages/dex2jar.vm/tools/chocolateyuninstall.ps1 new file mode 100644 index 000000000..65ad1123b --- /dev/null +++ b/packages/dex2jar.vm/tools/chocolateyuninstall.ps1 @@ -0,0 +1,7 @@ +$ErrorActionPreference = 'Continue' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'd2j-dex2jar' +$category = 'Java' + +VM-Uninstall $toolName $category