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

[Bug] 32bit apps were installed on ~/scoop/shims #5796

Closed
homoioi opened this issue Feb 4, 2024 · 1 comment
Closed

[Bug] 32bit apps were installed on ~/scoop/shims #5796

homoioi opened this issue Feb 4, 2024 · 1 comment
Labels

Comments

@homoioi
Copy link

homoioi commented Feb 4, 2024

Bug Report

32bit apps were installed on ~/scoop/shims

$ cd ~/scoop/shims
$ file 7z.exe 7z.shim
7z.exe: PE32 executable (console) Intel 80386, for MS Windows, 4 sections
7z.shim: ASCII text, with CRLF line terminators
$ cat 7z.shim
path = "C:\Users\zhang\scoop\apps\7zip\current\7z.exe"

$ file ../apps/7zip/current/7z.exe
../apps/7zip/current/7z.exe: PE32+ executable (console) x86-64, for MS Windows, 6 sections

Current Behavior

32bit 7z is called.

Expected Behavior

64bit one is called.

Additional context/output

Possible Solution

System details

Windows version: [e.g. 7, 8, 10, 11]
11
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
Major Minor Build Revision


5 1 22621 2506

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

//# Your configuration here
@homoioi homoioi added the bug label Feb 4, 2024
@rashil2000
Copy link
Member

The shim helper file is 32bit, since it works on all architectures - we provide only one shim file.

The actual program (7z here) is 64bit - 7z runs as a 64bit process only.

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

No branches or pull requests

2 participants