Small comment tweaks

This commit is contained in:
Michael Telatynski 2020-03-02 16:45:28 +00:00
parent 1f1cf95906
commit eac8118452
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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);