Skip to content

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 24 Apr 23:45
· 859 commits to main since this release
1392c28

Added

  • Dynamic Windows-app discovery. A new winpodx app refresh CLI subcommand and a "Refresh Apps" button on the Qt GUI's Apps page now enumerate the apps actually installed on the Windows guest and register them alongside the 14 bundled profiles. Inside the container, scripts/windows/discover_apps.ps1 scans Registry App Paths (HKLM + HKCU), Start Menu .lnk recursion, UWP/MSIX packages via Get-AppxPackage + AppxManifest.xml, and Chocolatey / Scoop shims, returning a JSON array with base64-encoded icons extracted from the real binaries / package logos. The host side (winpodx.core.discovery) copies the script via podman cp, executes it with podman exec powershell, and writes the results under ~/.local/share/winpodx/discovered/<slug>/ as TOML + PNG/SVG icon files. Bundled profiles, user-authored entries, and discovered entries live in three separate directories and merge at load time (user > discovered > bundled on slug collision) so a rediscovery run only touches the discovered tree.
  • UWP RemoteApp launching. rdp.build_rdp_command now accepts a launch_uri + strict-regex-validated AUMID (<PackageFamilyName>!<AppId>) and maps UWP apps to /app:program:explorer.exe,cmd:shell:AppsFolder\<AUMID>. Per-slug winpodx-uwp-<aumid-slug> fallback for /wm-class keeps Linux taskbar grouping distinct when two UWP apps share the same hint.
  • PowerShell Core smoke test in CI. A new discover-apps-ps job installs pwsh on the Ubuntu runner and runs discover_apps.ps1 -DryRun on every PR, validating that stdout parses as the JSON array shape core.discovery expects.
  • Post-upgrade migration wizard. A new winpodx migrate CLI subcommand shows per-version release notes for every version the user has skipped over and optionally runs winpodx app refresh so the Windows-app menu populates in one step. install.sh now invokes winpodx migrate automatically at the end of every upgrade (existing ~/.config/winpodx/winpodx.toml detected); opt out with WINPODX_NO_MIGRATE=1. Flags --no-refresh (skip only the refresh prompt) and --non-interactive (disable all prompts) are available for automation. The wizard tracks installed version at ~/.config/winpodx/installed_version.txt; pre-0.1.8 installs without that marker are treated as upgrading from 0.1.7.
  • pod.max_sessions is now configurable. Default stays 10; clamped to [1, 50]. ensure_ready() reads the value, compares against the guest's current HKLM:\...\Terminal Server\MaxInstanceCount, and rewrites + restarts TermService only when they disagree — active RemoteApp sessions aren't dropped every provision. fSingleSessionPerUser=0 is also re-asserted on every apply. A rough memory budget helper (estimate_session_memory, check_session_budget in winpodx.core.config) surfaces a warning via winpodx config show, winpodx config set, winpodx info, and the GUI Settings page only when max_sessions over-subscribes ram_gb — the default config stays silent.
  • install.sh local-path flags for offline / air-gapped installs. --source PATH copies winpodx from a local directory instead of git clone (validates pyproject.toml + src/winpodx/ are present). --image-tar PATH preloads the Windows container image via podman load -i (or docker load -i) so first boot doesn't hit the registry. --skip-deps skips the distro dependency install phase entirely and fails early if required tools aren't already present. Every flag has a matching environment variable (WINPODX_SOURCE, WINPODX_IMAGE_TAR, WINPODX_SKIP_DEPS) so curl | bash callers can compose them too. install.sh --help prints the full usage.

Changed

  • AppInfo gains source: "bundled" | "discovered" | "user", args, wm_class_hint, and launch_uri fields so the GUI can badge discovered entries and so RDP launches can target UWP apps.
  • desktop.entry._install_icon now dispatches between hicolor/scalable/apps/ (SVG) and hicolor/32x32/apps/ (PNG) based on the icon file's extension, so discovered apps' extracted PNG icons install cleanly alongside the bundled SVG ones.