mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-18 19:22:51 +08:00
chore: remove windows/osx from plugin.xml (#850)
This commit is contained in:
parent
20293f3d64
commit
0796f784c1
32
plugin.xml
32
plugin.xml
@ -145,36 +145,4 @@
|
|||||||
</js-module>
|
</js-module>
|
||||||
</platform>
|
</platform>
|
||||||
|
|
||||||
<!-- windows -->
|
|
||||||
<platform name="windows">
|
|
||||||
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
|
|
||||||
<DeviceCapability Name="webcam" />
|
|
||||||
</config-file>
|
|
||||||
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
||||||
<clobbers target="CameraPopoverHandle" />
|
|
||||||
</js-module>
|
|
||||||
<js-module src="src/windows/CameraProxy.js" name="CameraProxy">
|
|
||||||
<runs />
|
|
||||||
</js-module>
|
|
||||||
</platform>
|
|
||||||
|
|
||||||
<!-- osx -->
|
|
||||||
<platform name="osx">
|
|
||||||
<config-file target="config.xml" parent="/*">
|
|
||||||
<feature name="Camera">
|
|
||||||
<param name="osx-package" value="CDVCamera"/>
|
|
||||||
</feature>
|
|
||||||
</config-file>
|
|
||||||
|
|
||||||
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
||||||
<clobbers target="CameraPopoverHandle" />
|
|
||||||
</js-module>
|
|
||||||
|
|
||||||
<header-file src="src/osx/CDVCamera.h" />
|
|
||||||
<source-file src="src/osx/CDVCamera.m" />
|
|
||||||
|
|
||||||
<framework src="Quartz.framework" />
|
|
||||||
<framework src="AppKit.framework" />
|
|
||||||
</platform>
|
|
||||||
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
Loading…
Reference in New Issue
Block a user