From 2a6c4cff6beee50cca1cced7c3a613806ab64282 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Wed, 25 Jan 2023 13:20:42 +0000 Subject: [PATCH 1/2] Test nodesDir --- lib/launcher.js | 3 +++ package.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/launcher.js b/lib/launcher.js index 291e8c9..4a4d160 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -89,6 +89,9 @@ class Launcher { nodesDir.push(path.join(require.main.path, '..', 'nr-project-nodes').replace(/\\/g, '/')) nodesDir.push(path.join(require.main.path, 'node_modules', '@flowforge', 'nr-file-nodes').replace(/\\/g, '/')) nodesDir.push(path.join(require.main.path, '..', 'nr-file-nodes').replace(/\\/g, '/')) + nodesDir.push(require.main.path) + + console.log(nodesDir) this.settings.nodesDir = nodesDir diff --git a/package.json b/package.json index 083c38c..f82ca05 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ }, "homepage": "https://github.com/flowforge/flowforge-nr-launcher#readme", "dependencies": { - "@flowforge/nr-theme": "^0.1.3", "@flowforge/nr-project-nodes": "^0.2.0", "@flowforge/nr-file-nodes": "^0.0.3", "@flowforge/nr-persistent-context": "^0.0.3", From 751b6ee8aa513c1e28f18bf0fbab2aa0d291ae17 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Wed, 25 Jan 2023 13:38:21 +0000 Subject: [PATCH 2/2] Update lib/launcher.js --- lib/launcher.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/launcher.js b/lib/launcher.js index 4a4d160..b081327 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -91,8 +91,6 @@ class Launcher { nodesDir.push(path.join(require.main.path, '..', 'nr-file-nodes').replace(/\\/g, '/')) nodesDir.push(require.main.path) - console.log(nodesDir) - this.settings.nodesDir = nodesDir const settingsFileContent = getSettingsFile(this.settings)