[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
odin, odin-dev
Expected/Current Behaviour
Scoop could not find odin.exe during the shim setting in the installation process.
Steps to Reproduce
PS> scoop update odin
Updating Scoop...
Updating Buckets...
Scoop was updated successfully!
odin: 2024-05 -> 2024-06
Updating one outdated app:
Updating 'odin' (2024-05 -> 2024-06)
Downloading new version
Loading odin-windows-amd64-dev-2024-06.zip from cache.
Checking hash of odin-windows-amd64-dev-2024-06.zip ... ok.
Uninstalling 'odin' (2024-05)
Unlinking ~\scoop\apps\odin\current
Installing 'odin' (2024-06) [64bit] from 'versions' bucket
Loading odin-windows-amd64-dev-2024-06.zip from cache.
Extracting odin-windows-amd64-dev-2024-06.zip ... done.
Linking ~\scoop\apps\odin\current => ~\scoop\apps\odin\2024-06
Creating shim for 'odin'.
Get-Command: C:\Users\[redacted]\scoop\apps\scoop\current\lib\install.ps1:783
Line |
783 | $bin = (Get-Command $target).Source
| ~~~~~~~~~~~~~~~~~~~
| The term 'odin.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 'odin.exe': File doesn't exist.
Possible Solution
From 2024-06 release, The files inside the archive are now located in the windows_artifacts directory. It is the same as 'odin-nightly'.
Thus, the solution is really simple. Add extract_dir property to each manifest, and set to windows_artifacts.
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)
'main' bucket:
2c9121843 (HEAD -> master, origin/master, origin/HEAD) red: Update to version 05jun24
'extras' bucket:
de86b88f3 (HEAD -> master, origin/master, origin/HEAD) openvpn-connect@3.2.3.1851: Fix hash (Closes #13402)
'versions' bucket:
5405224af (HEAD -> master, origin/master, origin/HEAD) vlc-nightly: Update to version 20240605
Prerequisites
Package Name
odin, odin-dev
Expected/Current Behaviour
Scoop could not find
odin.exe
during the shim setting in the installation process.Steps to Reproduce
Possible Solution
From 2024-06 release, The files inside the archive are now located in the
windows_artifacts
directory. It is the same as 'odin-nightly'.Thus, the solution is really simple. Add
extract_dir
property to each manifest, and set towindows_artifacts
.Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response