From 892682151b11177d44ac715f5b731a7572130712 Mon Sep 17 00:00:00 2001 From: vm-packages Date: Thu, 7 Nov 2024 14:32:40 +0000 Subject: [PATCH] Add recaf.vm Add Java bytecode editor useful for RE --- packages/recaf.vm/recaf.vm.nuspec | 13 +++++++++++++ packages/recaf.vm/tools/chocolateyinstall.ps1 | 10 ++++++++++ packages/recaf.vm/tools/chocolateyuninstall.ps1 | 7 +++++++ 3 files changed, 30 insertions(+) create mode 100644 packages/recaf.vm/recaf.vm.nuspec create mode 100644 packages/recaf.vm/tools/chocolateyinstall.ps1 create mode 100644 packages/recaf.vm/tools/chocolateyuninstall.ps1 diff --git a/packages/recaf.vm/recaf.vm.nuspec b/packages/recaf.vm/recaf.vm.nuspec new file mode 100644 index 00000000..8cb3f875 --- /dev/null +++ b/packages/recaf.vm/recaf.vm.nuspec @@ -0,0 +1,13 @@ + + + + recaf.vm + 2.21.14 + Matt + java bytecode editor + + + + + + diff --git a/packages/recaf.vm/tools/chocolateyinstall.ps1 b/packages/recaf.vm/tools/chocolateyinstall.ps1 new file mode 100644 index 00000000..97b6022b --- /dev/null +++ b/packages/recaf.vm/tools/chocolateyinstall.ps1 @@ -0,0 +1,10 @@ +$ErrorActionPreference = 'Stop' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'recaf-2.21.14-J8-jar-with-dependencies' +$category = 'Java & Android' + +$exeUrl = 'https://github.com/Col-E/Recaf/releases/download/2.21.14/recaf-2.21.14-J8-jar-with-dependencies.jar' +$exeSha256 = '8d14fc007e2a90a0d2331e5170cfce0f899ad96631aa7565623dea997c6bcb84' + +VM-Install-Single-Exe $toolName $category $exeUrl -exeSha256 $exeSha256 -consoleApp $false diff --git a/packages/recaf.vm/tools/chocolateyuninstall.ps1 b/packages/recaf.vm/tools/chocolateyuninstall.ps1 new file mode 100644 index 00000000..d438a193 --- /dev/null +++ b/packages/recaf.vm/tools/chocolateyuninstall.ps1 @@ -0,0 +1,7 @@ +$ErrorActionPreference = 'Continue' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'recaf-2.21.14-J8-jar-with-dependencies' +$category = 'Java & Android' + +VM-Uninstall $toolName $category