Skip to content

Commit

Permalink
Merge pull request #1160 from mandiant/package-recaf
Browse files Browse the repository at this point in the history
🤖 Add recaf.vm
  • Loading branch information
Ana06 authored Nov 22, 2024
2 parents af8f530 + 8926821 commit 524fe75
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/recaf.vm/recaf.vm.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>recaf.vm</id>
<version>2.21.14</version>
<authors>Matt</authors>
<description>java bytecode editor</description>
<dependencies>
<dependency id="common.vm" version="0.0.0.20240509" />
<dependency id="openjdk.vm" />
</dependencies>
</metadata>
</package>
10 changes: 10 additions & 0 deletions packages/recaf.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions packages/recaf.vm/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 524fe75

Please sign in to comment.