From 94d630434435fff67cf2453bc1d91bde8eb8dc91 Mon Sep 17 00:00:00 2001 From: EtienneLescot Date: Sat, 17 Oct 2026 10:47:10 +0200 Subject: [PATCH] build(store): give the MSIX an openscreen execution alias The Store package lives in a versioned folder under WindowsApps, so an agent or a script had no path to register for the CLI or for openscreen mcp. The alias puts openscreen.exe in %LOCALAPPDATA%\Microsoft\WindowsApps, which is on the PATH. An alias needs a MinVersion of 16299; it moves to 18362, the 1903 the app already requires. Checked on a test package registered from the installed 2.1.0: openscreen help exits 0 and openscreen mcp lists its 55 tools through the alias. --- build/appx-extensions.xml | 6 ++++++ electron-builder.json5 | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 build/appx-extensions.xml diff --git a/build/appx-extensions.xml b/build/appx-extensions.xml new file mode 100644 index 000000000..11e94578d --- /dev/null +++ b/build/appx-extensions.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/electron-builder.json5 b/electron-builder.json5 index 11027e424..8b11d8cc7 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -456,6 +456,11 @@ "displayName": "OpenScreen", "backgroundColor": "transparent", "capabilities": ["runFullTrust", "microphone", "webcam"], + // `openscreen` on the PATH (%LOCALAPPDATA%\Microsoft\WindowsApps), so the CLI and + // `openscreen mcp` have a path that survives Store updates: the package's own folder + // is versioned. An execution alias needs Windows 10 1709 (16299); the app needs 1903. + "customExtensionsPath": "build/appx-extensions.xml", + "minVersion": "10.0.18362.0", // Mirrors SUPPORTED_LOCALES in src/i18n/config.ts. This list is what the Store // shows as "supported languages" on the product page and what lets the listing // surface in each language's Store search — declaring only en-US/fr-FR advertised