<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="2">
    <title>Hue Sync</title>
    <background alignment="bottomleft" file="background.png" mime-type="image/png" scaling="proportional"/>
    <background-darkAqua alignment="bottomleft" file="background.png" mime-type="image/png" scaling="proportional"/>
    <welcome file="welcome.rtf" mime-type="text/richtext"/>
    <conclusion file="conclusion.rtf" mime-type="text/richtext"/>
    <options customize="never" hostArchitectures="x86_64,arm64" require-scripts="false"/>
    <choice id="com.lighting.huesync">
        <pkg-ref id="com.lighting.huesync">huesync.pkg</pkg-ref>
    </choice>
    <choices-outline>
        <line choice="com.lighting.huesync"/>
    </choices-outline>
    <volume-check>
        <allowed-os-versions>
            <os-version min="10.14"/>
        </allowed-os-versions>
    </volume-check>
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <script><![CDATA[
		function GetConclusion()
		{
			//system.log('fdsfs ' + system.files.fileExistsAtPath('/Library/Extensions/HueSync.kext'));
			//system.log('fdsfs ' + system.version));
			//if (system.compareVersions(system.version.ProductVersion, '10.15') >= 0)
			//{				
			//	if (system.files.fileExistsAtPath('/Library/Extensions/HueSync.kext'))
			//	{
			//		return "None";
			//	}
			
			//	return "RequireRestart";
			//}
			
			//return "None";
		}
	]]></script>
    <pkg-ref id="com.lighting.huesync" version="1.13.1fc83" installKBytes="232973">
        <bundle-version>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickEffects" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickEffects.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQmlModels" path="Applications/Hue Sync.app/Contents/Frameworks/QtQmlModels.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtDBus" path="Applications/Hue Sync.app/Contents/Frameworks/QtDBus.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtOpenGL" path="Applications/Hue Sync.app/Contents/Frameworks/QtOpenGL.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2MacOSStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2MacOSStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2UniversalStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2UniversalStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtWebSockets" path="Applications/Hue Sync.app/Contents/Frameworks/QtWebSockets.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtLabsPlatform" path="Applications/Hue Sync.app/Contents/Frameworks/QtLabsPlatform.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtShaderTools" path="Applications/Hue Sync.app/Contents/Frameworks/QtShaderTools.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickTemplates2" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickTemplates2.framework"/>
            <bundle CFBundleShortVersionString="1.13.1fc83" CFBundleVersion="137" id="$(PRODUCT_BUNDLE_IDENTIFIER)" path="Applications/Hue Sync.app/Contents"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtNetwork" path="Applications/Hue Sync.app/Contents/Frameworks/QtNetwork.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2MaterialStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2MaterialStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtLabsFolderListModel" path="Applications/Hue Sync.app/Contents/Frameworks/QtLabsFolderListModel.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQmlCore" path="Applications/Hue Sync.app/Contents/Frameworks/QtQmlCore.framework"/>
            <bundle CFBundleShortVersionString="1.13.1fc83" CFBundleVersion="137" id="com.lighting.huesync" path="Applications/Hue Sync.app"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2FluentWinUI3StyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2FluentWinUI3StyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickDialogs2" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickDialogs2.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickLayouts" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickLayouts.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickDialogs2Utils" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickDialogs2Utils.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickParticles" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickParticles.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQmlWorkerScript" path="Applications/Hue Sync.app/Contents/Frameworks/QtQmlWorkerScript.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickVectorImageGenerator" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickVectorImageGenerator.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2FusionStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2FusionStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuick" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuick.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickDialogs2QuickImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickDialogs2QuickImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQmlMeta" path="Applications/Hue Sync.app/Contents/Frameworks/QtQmlMeta.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtGui" path="Applications/Hue Sync.app/Contents/Frameworks/QtGui.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2Basic" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2Basic.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2Imagine" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2Imagine.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQml" path="Applications/Hue Sync.app/Contents/Frameworks/QtQml.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2BasicStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2BasicStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2IOSStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2IOSStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2Material" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2Material.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtCore" path="Applications/Hue Sync.app/Contents/Frameworks/QtCore.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2Impl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2Impl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQmlLocalStorage" path="Applications/Hue Sync.app/Contents/Frameworks/QtQmlLocalStorage.framework"/>
            <bundle CFBundleShortVersionString="1.13.1fc83" CFBundleVersion="137" id="com.lighting.huesync.AudioDriverPlugin" path="Library/Audio/Plug-Ins/HAL/HueSyncAudio.driver"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtWidgets" path="Applications/Hue Sync.app/Contents/Frameworks/QtWidgets.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2Universal" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2Universal.framework"/>
            <bundle CFBundleShortVersionString="1.13.1fc83" CFBundleVersion="137" id="com.lighting.huesync.watchdog" path="Applications/Hue Sync.app/Contents/MacOS/WatchDog.app"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickShapes" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickShapes.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2ImagineStyleImpl" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2ImagineStyleImpl.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickControls2Fusion" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickControls2Fusion.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQmlXmlListModel" path="Applications/Hue Sync.app/Contents/Frameworks/QtQmlXmlListModel.framework"/>
            <bundle CFBundleShortVersionString="6.8" CFBundleVersion="6.8.0" id="org.qt-project.QtQuickVectorImage" path="Applications/Hue Sync.app/Contents/Frameworks/QtQuickVectorImage.framework"/>
        </bundle-version>
    </pkg-ref>
    <product id="com.lighting.huesync" version="1.13.1fc83"/>
    <pkg-ref id="com.lighting.huesync">#huesync.pkg</pkg-ref>
</installer-gui-script>