While there is a PowerShell function to replace `scoop search [package]` with `scoop-search.exe [package]`, there isn't one for cmd.exe, so I am trying to make one. This wrapper script is what I have come up with, but it isn't working:
Code: Select all
@echo off
if "%1" == "search" (
shift
scoop-search.exe %*
) else (
powershell scoop.ps1 %*
)