Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

[Bug] short option -a for shovel install broken, long option --arch still works #271

@mrplumber

Description

@mrplumber
  • Branch: main
  • Powershell Version: 7.2.1

Bug Report

Current Behavior

shovel install -a 32bit <app> installs 64bit version of the app which also has 32bit (tested with custom manifest, then with main/dirhash)

Expected Behavior

shovel install -a 32bit <app> should install 32bit version of the app (provided app manifest supports it)

Additional context/output

Here is the example output when trying to install 32bit main/dirhash:

PS C:\>shovel install -a 32bit dirhash
Installing 'dirhash' (1.23.0) [64bit] [main]
WARN  By installing you accept following license: BSD-3-Clause (https://spdx.org/licenses/BSD-3-Clause.html)
Loading DirHash-1.23.0-x64.zip from cache
Checking hash of DirHash-1.23.0-x64.zip ... ok.
Extracting DirHash-1.23.0-x64.zip ... done.
Linking ~\scoop\apps\dirhash\current => ~\scoop\apps\dirhash\1.23.0
Creating shim for 'DirHash'.
'dirhash' (1.23.0) was installed successfully!

Output when installing the same app with long option --arch 32bit:

PS C:\>shovel install --arch 32bit dirhash
Installing 'dirhash' (1.23.0) [32bit] [main]
WARN  By installing you accept following license: BSD-3-Clause (https://spdx.org/licenses/BSD-3-Clause.html)
Loading DirHash-1.23.0-x86.zip from cache
Checking hash of DirHash-1.23.0-x86.zip ... ok.
Extracting DirHash-1.23.0-x86.zip ... done.
Linking ~\scoop\apps\dirhash\current => ~\scoop\apps\dirhash\1.23.0
Creating shim for 'DirHash'.
'dirhash' (1.23.0) was installed successfully!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin-NEWChanges are already available in NEW branch. Configure SCOOP_BRANCH to NEW to beta-test changes

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions