Repository navigation
Description
Description
Applications installed through Scoop launch normally from Windows Explorer or the Start Menu, but fail or behave incorrectly when launched through AppGroup.
This affects multiple applications and may be related to how AppGroup handles Scoop's current directory junctions or process execution.
Steps to reproduce
- Install an application using Scoop (e.g., LibreWolf or WezTerm).
- Add its executable from
scoop\apps\<app>\current\to AppGroup. - Attempt to launch it through AppGroup.
- Repeat using the Scoop shim (
scoop\shims\) or its Start Menu shortcut.
Observed behavior
- LibreWolf: Windows reports that
LibreWolf-Portable.exehas been changed or moved and offers to delete the shortcut. - Scoop shims: Launching through AppGroup fails, despite working normally outside AppGroup.
- WezTerm: The terminal launches, but applications called during PowerShell initialization (e.g., Starship and Fastfetch) fail with errors such as:
Shim: Could not determine if target is a GUI app.
Assuming console.
Shim: Could not create process with command
'"...\scoop\apps\starship\current\starship.exe" init powershell'
All affected applications work correctly when launched directly through Windows Explorer or the Start Menu.
Expected behavior
Applications launched through AppGroup should behave the same as when launched directly, including support for Scoop's version-independent current directory junctions, shims, and shortcuts.
Potential cause
Looking at PopupWindow.xaml.cs, the TryLaunchApp() method appears to use:
cmd.exe /c start "" "<path>" <args>Could this indirect launching approach affect shortcut resolution, working directories, inherited process context, or Windows security mitigations?
A potentially related Scoop issue discusses Windows RedirectionGuard preventing junction traversal in certain contexts:
It's unclear whether this is the same underlying issue.
Suggested investigation
- Compare direct Windows shell execution against the current
cmd.exe /c startapproach. - Verify correct handling of
.lnkshortcuts and Scoop junctions. - Check whether child processes inherit a different execution environment or security context.
- Ensure the fix applies consistently to individual launches and Launch All.
Related issue
#79 addressed working-directory problems, but this appears to involve additional launch behavior.
Environment
- Windows 11
- AppGroup: v 1.6.0
- Scoop package manager
Activity