You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another problem that this approach (modifying the working directory) causes: using relative paths with .jar shims is broken (as they are being resolved from scoop\apps\X directory and not from the real working directory.
For example with apktool, run apktool d apk_in_current_dir.apk and an error occurs:
Input file (C:\Users\User\scoop\apps\apktool\current\.\apk_in_current_dir.apk) was not found or was not readable.
Bug Report
Current Behavior
.jar
shims change the current working directory to the package directory when running from cmd.Expected Behavior
shims should not change the working directory
Additional context/output
for example, install apktool:
scoop install main/apktool
and then runapktool
in cmd:When running from powershell this doesn't happen for some reason.
The cause of this is
Scoop/lib/core.ps1
Lines 1012 to 1018 in d337bb1
I think
cd
shouldn't be used anywhere in shims.System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 5.1.22621.3672
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
The text was updated successfully, but these errors were encountered: