Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support using external shim.exe #6209

Open
chawyehsu opened this issue Oct 29, 2024 · 1 comment
Open

[Feature] Support using external shim.exe #6209

chawyehsu opened this issue Oct 29, 2024 · 1 comment

Comments

@chawyehsu
Copy link
Member

chawyehsu commented Oct 29, 2024

Feature Request

Is your feature request related to a problem? Please describe.

By allowing to config Scoop to use external shim.exe, i.e. shim.exe which is manually installed, instead of those bundled with Scoop, users may switch to leverage their own shim.exe builds without relying on updates to the Scoop codebase or the need to patch the supporting files manually, which can result conflicts.

I'm experimenting/maintaining my own shim.exe builds for Windows ARM in https://github.com/chawyehsu/kiennq-shim/tree/zig-build (upstream: kiennq/scoop-better-shimexe#10). While now it's not merged and may not be ready for a GA release, it's good for a try. It will be much easier to try such builds by installing via a manifest rather than replacing bundled shim.exe files if use of external shim.exe is supported.

Describe the solution you'd like

a rough way was drafted in #6208 to support:

scoop install myshim-pkg
scoop config shim 'ext:myshim-pkg'

Describe alternatives you've considered

n/a

@necrosisy
Copy link

I also created my own shim.exe that uses symbolic links instead of text files as the configuration method.
shim

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

No branches or pull requests

2 participants