//
//  kern_start.cpp
//  AppleALC
//
//  Copyright © 2016-2017 vit9696. All rights reserved.
//

#include <Headers/plugin_start.hpp>
#include <Headers/kern_api.hpp>

#include "kern_alc.hpp"

static AlcEnabler alc;

static const char *bootargOff[] {
	"-alcoff",
	"-x"
};

static const char *bootargDebug[] {
	"-alcdbg"
};

static const char *bootargBeta[] {
	"-alcbeta"
};

PluginConfiguration ADDPR(config) {
	xStringify(PRODUCT_NAME),
	parseModuleVersion(xStringify(MODULE_VERSION)),
	bootargOff,
	arrsize(bootargOff),
	bootargDebug,
	arrsize(bootargDebug),
	bootargBeta,
	arrsize(bootargBeta),
	KernelVersion::MountainLion,
	KernelVersion::HighSierra,
	[]() {
		alc.init();
	}
};






//
//  kern_start.cpp
//  AppleALC
//
//  Copyright © 2016-2017 vit9696. All rights reserved.
//

#include <Headers/plugin_start.hpp>
#include <Headers/kern_api.hpp>

#include "kern_alc.hpp"

static AlcEnabler alc;

static const char *bootargOff[] {
	"-alcoff"
};

static const char *bootargDebug[] {
	"-alcdbg"
};

static const char *bootargBeta[] {
	"-alcbeta"
};

PluginConfiguration ADDPR(config) {
	xStringify(PRODUCT_NAME),
	parseModuleVersion(xStringify(MODULE_VERSION)),
	LiluAPI::AllowNormal | LiluAPI::AllowInstallerRecovery,
	bootargOff,
	arrsize(bootargOff),
	bootargDebug,
	arrsize(bootargDebug),
	bootargBeta,
	arrsize(bootargBeta),
	KernelVersion::MountainLion,
	KernelVersion::HighSierra,
	[]() {
		alc.init();
	}
};






Update plugin requirements for 1.2.0
Update plugin requirements for 1.2.0