v1.2.2 — Windows: MSIX Desktop detection, RDP user fallback, schtasks wrapper
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
Claudepackage viaGet-AppxPackage -AllUsers/Get-AppxProvisionedPackage -Onlineinstead of stat-ing a nonexistent%LOCALAPPDATA%\Programs\Claudefolder. The old check failed on managed fleets and under elevated/SYSTEM (wrong profile). Fixes--claude-desktopand auto-detect on Windows. - Logged-in-user resolution (RDP fallback):
Win32_ComputerSystem.UserNameis empty on RDP-only / no-console SYSTEM contexts. Falls back to the owner ofexplorer.exe(always the real interactive user). Fixescould not determine logged-in user: WMI returned empty user name. - schtasks
/tr261-char limit: the device-login command exceeded the schtasks/trcap once stderr was redirected to a log file (introduced in v1.2.1). It is now written to a small.cmdwrapper 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".