From f31371a5ca7393a796fd3861caa90aa87089d141 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Mon, 25 Mar 2024 16:22:06 +0100 Subject: [PATCH] fix url handler --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index fa6dba1..048c717 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -181,7 +181,7 @@ class ElectronApp { console.log(explicitAction) - if (explicitAction[0]) { + if (explicitAction.length > 0) { switch (explicitAction[0]) { case "authorize": { const [pkgid, token] = explicitAction[1].split("%23")