Skip to content

v1.2.2 — Windows: MSIX Desktop detection, RDP user fallback, schtasks wrapper

Choose a tag to compare

@LordGameleo LordGameleo released this 06 Jul 09:44
1641563

Windows-only reliability fixes for managed (Intune / SCCM / GPO) fleets. macOS and Linux behavior is unchanged from v1.2.1. This promotes the v1.2.2-rc1 / v1.2.2-rc2 pre-releases to stable — the code is now merged to source main (#9).

Fixes

  • Claude Desktop detection (MSIX/Appx): detect the Claude package via Get-AppxPackage -AllUsers / Get-AppxProvisionedPackage -Online instead of stat-ing a nonexistent %LOCALAPPDATA%\Programs\Claude folder. The old check failed on managed fleets and under elevated/SYSTEM (wrong profile). Fixes --claude-desktop and auto-detect on Windows.
  • Logged-in-user resolution (RDP fallback): Win32_ComputerSystem.UserName is empty on RDP-only / no-console SYSTEM contexts. Falls back to the owner of explorer.exe (always the real interactive user). Fixes could not determine logged-in user: WMI returned empty user name.
  • schtasks /tr 261-char limit: the device-login command exceeded the schtasks /tr cap once stderr was redirected to a log file (introduced in v1.2.1). It is now written to a small .cmd wrapper and the task points at the wrapper, keeping /tr ~85 chars regardless of path/URL length.

Merged PRs

  • Windows: MSIX Desktop detection, RDP user fallback, schtasks /tr wrapper (source#9)

Full changelog: v1.2.1...v1.2.2

Assets

Prebuilt binaries for macOS (arm64/amd64), Linux (amd64), and Windows (amd64), built from source main @ f2ea88a with -trimpath -ldflags="-s -w".