Have you seen https://github.com/microsoft/vscode-platform-specific-sample/tree/main and https://code.visualstudio.com/api/working-with-extensions/publishing-extension#platformspecific-extensions for platform-specific extensions?