Skip to content

Commit

Permalink
TV devices config path fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lnking81 committed Feb 3, 2022
1 parent 3285fcf commit 450b5de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/homebridge/DeviceManager.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import bonjour from "bonjour";
import fs from "fs";
import path from "path";
import {Device} from "./Device.js";
import EventEmitter from "events";

Expand All @@ -12,7 +13,7 @@ class DeviceManager extends EventEmitter {
this.api = api;

this.devices = {};
this.config_path = 'androidtv-config.json'
this.config_path = path.join(api.user.storagePath(), 'androidtv-config.json');
}

load() {
Expand Down

0 comments on commit 450b5de

Please sign in to comment.