Skip to content

ltex-ls-plus: shim creation fails. #5

Description

@dylan-k

The ltex-ls-plus manifest (ltex-ls-plus.json) expects a CLI batch file at bin\ltex-cli-plus.bat to create a shim for ltex-cli-plus. The shim fails and the CLI is not available on PATH after install. The expected file does exist though, even after getting this error, at ~\scoop\apps\ltex-ls-plus\current\ltex-ls-plus-18.6.1\bin\ltex-cli-plus.bat"

Steps to reproduce:

  1. scoop install Scoopforge_Main-Plus/ltex-ls-plus
  2. Observe error:
scoop\apps\scoop\current\lib\install.ps1:191:21
Line |
 191 |              $bin = (Get-Command $target).Source
     |                      ~~~~~~~~~~~~~~~~~~~
     | The term 'bin\ltex-cli-plus.bat' is not recognized as a name of a        
     | cmdlet, function, script file, or executable program. Check the spelling 
     | of the name, or if a path was included, verify that the path is correct  
     | and try again.
Can't shim 'bin\ltex-cli-plus.bat': File doesn't exist.`

Expected behavior:

  • The file does exist even after getting this error, at ~\scoop\apps\ltex-ls-plus\current\ltex-ls-plus-18.6.1\bin\ltex-cli-plus.bat"
  • The installer should be able to find it there, but does not.

Workaround:

  • Users must create their own wrapper script to launch the CLI.

References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions