From d073f253a535e09eee5913a946343045422ea265 Mon Sep 17 00:00:00 2001 From: Elliot Chernofsky Date: Tue, 16 Dec 2025 10:29:48 +0000 Subject: [PATCH] Add pylingual tool --- packages/pylingual.vm/pylingual.vm.nuspec | 14 ++++++++++++++ packages/pylingual.vm/tools/chocolateyinstall.ps1 | 10 ++++++++++ .../pylingual.vm/tools/chocolateyuninstall.ps1 | 8 ++++++++ 3 files changed, 32 insertions(+) create mode 100644 packages/pylingual.vm/pylingual.vm.nuspec create mode 100644 packages/pylingual.vm/tools/chocolateyinstall.ps1 create mode 100644 packages/pylingual.vm/tools/chocolateyuninstall.ps1 diff --git a/packages/pylingual.vm/pylingual.vm.nuspec b/packages/pylingual.vm/pylingual.vm.nuspec new file mode 100644 index 000000000..c6df8b9f5 --- /dev/null +++ b/packages/pylingual.vm/pylingual.vm.nuspec @@ -0,0 +1,14 @@ + + + + pylingual.vm + 0.0.0.20251216 + Josh Wiedemeier, Elliot Tarbet, Max Zheng, Sangsoo Ko, Jessica Ouyang, Sang Kil Cha, Kangkook Jee + Python decompiler for modern Python versions. + + + + + Python + + diff --git a/packages/pylingual.vm/tools/chocolateyinstall.ps1 b/packages/pylingual.vm/tools/chocolateyinstall.ps1 new file mode 100644 index 000000000..d1ae01b51 --- /dev/null +++ b/packages/pylingual.vm/tools/chocolateyinstall.ps1 @@ -0,0 +1,10 @@ +$ErrorActionPreference = 'Stop' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'pylingual' +$category = VM-Get-Category($MyInvocation.MyCommand.Definition) + +VM-Pip-Install 'https://github.com/syssec-utd/pylingual/archive/9f0ba2aa0195ce853b65e1064e8aaae09b67966f.zip' + +$pyPath = (Get-Command py).Source +VM-Install-Shortcut $toolName $category -executablePath $toolName -consoleApp $true -arguments "--help" -iconLocation $pyPath diff --git a/packages/pylingual.vm/tools/chocolateyuninstall.ps1 b/packages/pylingual.vm/tools/chocolateyuninstall.ps1 new file mode 100644 index 000000000..044485cd2 --- /dev/null +++ b/packages/pylingual.vm/tools/chocolateyuninstall.ps1 @@ -0,0 +1,8 @@ +$ErrorActionPreference = 'Continue' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'pylingual' +$category = VM-Get-Category($MyInvocation.MyCommand.Definition) + +VM-Pip-Uninstall $toolName +VM-Remove-Tool-Shortcut $toolName $category