Skip to content

Commit

Permalink
Change config library to simple one not doing atomic writes which is …
Browse files Browse the repository at this point in the history
…incompatible witht the way it is handled when running in a docker container
  • Loading branch information
HasseJohansen committed Jul 11, 2021
1 parent 478365a commit 845e818
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var first_run = false
var roon = new RoonApi({
extension_id: 'dk.hagenjohansen.roontradfri',
display_name: "Roon Tradfri",
display_version: "0.0.8",
display_version: "0.0.9",
publisher: 'Hasse Hagen Johansen',
email: '[email protected]',
website: 'https://github.com/HasseJohansen/roon-extension-ikea-tradfri',
Expand Down
4 changes: 2 additions & 2 deletions connection.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const Conf = require('conf');
const appConfig = require('@anujdatar/appconfig')
const delay = require('delay');
const NodeTradfriClient = require("node-tradfri-client");
const path = require( 'path' );

const conf = new Conf({"cwd": "."});
const conf = new appConfig({"configDir": "."});
const { discoverGateway, TradfriClient } = NodeTradfriClient;

async function getConnection(gwcode) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "roon-extension-ikea-tradfri",
"version": "0.0.8",
"version": "0.0.9",
"description": "Roon Extension for switching IKEA Trådfri smart switches",
"main": "app.js",
"author": "Hasse Hagen Johansen",
"license": "Apache-2.0",
"dependencies": {
"conf": "^10.0.1",
"@anujdatar/appconfig": "^2.2.0",
"delay": "^5.0.0",
"fs": "",
"fs": "",
"node-roon-api": "github:roonlabs/node-roon-api",
"node-roon-api-settings": "github:roonlabs/node-roon-api-settings",
"node-roon-api-status": "github:roonlabs/node-roon-api-status",
Expand Down

0 comments on commit 845e818

Please sign in to comment.