更新时间:2023-11-13 14:15:34
您可以使用配置文件执行此操作.有用于OS设置的配置文件激活开关.而且该插件非常智能,您可以使用取反.
You can do this with profiles. There is profile activation switch for OS settings. And the plugin is so intelligent, you can use negation.
<profiles>
<profile>
<activation>
<os>
<family>!windows</family>
</os>
</activation>
<build>
<plugins>
<plugin>
...
</plugin>
</plugins>
</build>
...
</profile>
</profiles>
有关个人资料的更多信息,可以在此处找到,以及关于您可以在此处使用的值.
Further information about profiles can be found here, and about the values you can use here.