[Bug]: [email protected]: Failed to create shim for 'Telegram.exe'

Open Beginner friendly
#19,364 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
json, powershell
Domain
tooling

Research direction

The failure is in the shim step of Scoop's install.ps1, which cannot find Telegram.exe because the 1.2.13 zip no longer contains that name. Open the 64gram manifest in the Extras bucket (bucket/64gram.json) and check its bin and shortcuts entries against the new archive contents; the upstream release renamed the executable to 64Gram.exe. Done means the manifest points at the executable that exists in 64Gram_1.2.13_x64.zip, and the shim is created during a local install.

Written by the indexing model from the issue text.

Description

64gram: 1.2.12 -> 1.2.13
Updating 2 outdated apps:
Updating '64gram' (1.2.12 -> 1.2.13)
Downloading new version
Loading 64Gram_1.2.13_x64.zip from cache
Checking hash of 64Gram_1.2.13_x64.zip... OK.
Running pre_uninstall script... Done.
Uninstalling '64gram' (1.2.12)
Unlinking E:\Applications\Scoop\apps\64gram\current
Installing '64gram' (1.2.13) [64bit] from 'extras' bucket
Loading 64Gram_1.2.13_x64.zip from cache
Extracting 64Gram_1.2.13_x64.zip... Done.
Running pre_install script... Done.
Linking E:\Applications\Scoop\apps\64gram\current => E:\Applications\Scoop\apps\64gram\1.2.13
Creating shim for '64Gram'.
Get-Command: E:\Applications\Scoop\apps\scoop\current\lib\install.ps1:187
Line |
 187 |              $bin = (Get-Command $target).Source
     |                      ~~~~~~~~~~~~~~~~~~~
     | The term 'Telegram.exe' 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 'Telegram.exe': File doesn't exist.

Developer renamed folders:
https://github.com/TDesktop-x64/tdesktop/releases/tag/v1.2.13

Dominant language
PowerShell
Stars
2.2k
Forks
1.9k
Avg merge
1d 9h
Merged PRs (30d)
81

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ScoopInstaller/Extras

All issues in ScoopInstaller/Extras

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.