Skip to content

In Manifest mode, can I restrict a feature to only be available on a particular platform? #44407

Closed Answered by autoantwort
AshwinKumarVijay asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can do:

"features": [
    {
        "name": "win-version",
        "platform": "windows"
    },
    {
        "name": "other-version",
        "platform": "!windows"
    }
]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AshwinKumarVijay
Comment options

Answer selected by AshwinKumarVijay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants