mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Removed submodule for HAP-NodeJS and moved to NPM
It seemed to be easier all around to use NPM to manage the dependancy on HAP-NodeJS. This PR removes the submodule, and adjusts the paths of all checked in shims to reference the NPM module instead. I also updated the documentation to reflect the simpler install ;)
This commit is contained in:
8
app.js
8
app.js
@@ -101,10 +101,10 @@ function loadPlatforms() {
|
||||
//
|
||||
|
||||
// Pull in required HAP-NodeJS stuff
|
||||
var accessory_Factor = new require("./lib/HAP-NodeJS/Accessory.js");
|
||||
var accessoryController_Factor = new require("./lib/HAP-NodeJS/AccessoryController.js");
|
||||
var service_Factor = new require("./lib/HAP-NodeJS/Service.js");
|
||||
var characteristic_Factor = new require("./lib/HAP-NodeJS/Characteristic.js");
|
||||
var accessory_Factor = new require("HAP-NodeJS/Accessory.js");
|
||||
var accessoryController_Factor = new require("HAP-NodeJS/AccessoryController.js");
|
||||
var service_Factor = new require("HAP-NodeJS/Service.js");
|
||||
var characteristic_Factor = new require("HAP-NodeJS/Characteristic.js");
|
||||
|
||||
// Each accessory has its own little server. We'll need to allocate some ports for these servers
|
||||
var nextPort = 51826;
|
||||
|
||||
Reference in New Issue
Block a user