Skip to content

Commit

Permalink
Add recaf.vm
Browse files Browse the repository at this point in the history
Closes #1155.

add dependency for recaf.vm.nuspec

remove .jar from the tool name
  • Loading branch information
vm-packages authored and sara-rn committed Nov 21, 2024
1 parent 0f526b9 commit 617d67c
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 617d67c

Please sign in to comment.