From eac811845222065e5f6976fa1adfbb2a3fff6071 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 2 Mar 2020 16:45:28 +0000 Subject: [PATCH] Small comment tweaks --- scripts/in-docker.sh | 2 +- src/protocol.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/in-docker.sh b/scripts/in-docker.sh index 499a7b8..9758fc3 100755 --- a/scripts/in-docker.sh +++ b/scripts/in-docker.sh @@ -2,7 +2,7 @@ docker inspect riot-desktop-dockerbuild 2> /dev/null > /dev/null if [ $? != 0 ]; then - echo "Docker image riot-desktop-builder not found. Have you run yarn run docker:setup?" + echo "Docker image riot-desktop-dockerbuild not found. Have you run yarn run docker:setup?" exit 1 fi diff --git a/src/protocol.js b/src/protocol.js index a001a5d..78d3408 100644 --- a/src/protocol.js +++ b/src/protocol.js @@ -24,6 +24,7 @@ const processUrl = (url) => { module.exports = () => { // get all args except `hidden` as it'd mean the app would not get focused + // XXX: passing args to protocol handlers only works on Windows, so unpackaged deep-linking won't work on Mac/Linux const args = process.argv.slice(1).filter(arg => arg !== "--hidden" && arg !== "-hidden"); if (app.isPackaged) { app.setAsDefaultProtocolClient('riot', process.execPath, args);