Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

build(store): give the MSIX an openscreen execution alias

EtienneLescot5ea72a298cff
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 @@
+
+ <uap5:Extension xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" Category="windows.appExecutionAlias" Executable="app\Openscreen.exe" EntryPoint="Windows.FullTrustApplication">
+ <uap5:AppExecutionAlias>
+ <uap5:ExecutionAlias Alias="openscreen.exe" />
+ </uap5:AppExecutionAlias>
+ </uap5:Extension>
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