From 7f623fa238790f473fdd4a69a46d86d97f1d9d06 Mon Sep 17 00:00:00 2001 From: John A Knight Jr Date: Sun, 6 Aug 2023 14:20:49 -0700 Subject: [PATCH 1/3] Fix immediate crash on Linux --- companion/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/manifest.json b/companion/manifest.json index f0a79e4..a192315 100644 --- a/companion/manifest.json +++ b/companion/manifest.json @@ -18,7 +18,7 @@ "type": "node18", "api": "nodejs-ipc", "apiVersion": "0.0.0", - "entrypoint": "..\\src\\index.js" + "entrypoint": "../src/index.js" }, "manufacturer": "Blackmagic Design", "products": ["SmartView", "SmartScope"], From 4ba1de90509c2b11f6e8919cea6653747014c6fe Mon Sep 17 00:00:00 2001 From: John A Knight Jr Date: Sun, 6 Aug 2023 14:21:44 -0700 Subject: [PATCH 2/3] Fix variable reference --- src/upgrades.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/upgrades.js b/src/upgrades.js index debccb1..5397935 100644 --- a/src/upgrades.js +++ b/src/upgrades.js @@ -13,8 +13,8 @@ export function upgrade_v1_1_0(context, props) { } if (props.actions) { - for (let k in actions) { - upgradePass(actions[k]) + for (let k in props.actions) { + upgradePass(props.actions[k]) } } From ef91e0acd511b6b8b77cc9074a98379951d4b482 Mon Sep 17 00:00:00 2001 From: John A Knight Jr Date: Sun, 6 Aug 2023 14:21:56 -0700 Subject: [PATCH 3/3] Version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a6b85cb..83819ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bmd-smartview", - "version": "2.0.4", + "version": "2.0.5", "main": "src/index.js", "type": "module", "scripts": {