mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54:59 +01:00
Small comment tweaks
This commit is contained in:
parent
1f1cf95906
commit
eac8118452
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
docker inspect riot-desktop-dockerbuild 2> /dev/null > /dev/null
|
docker inspect riot-desktop-dockerbuild 2> /dev/null > /dev/null
|
||||||
if [ $? != 0 ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ const processUrl = (url) => {
|
|||||||
|
|
||||||
module.exports = () => {
|
module.exports = () => {
|
||||||
// get all args except `hidden` as it'd mean the app would not get focused
|
// 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");
|
const args = process.argv.slice(1).filter(arg => arg !== "--hidden" && arg !== "-hidden");
|
||||||
if (app.isPackaged) {
|
if (app.isPackaged) {
|
||||||
app.setAsDefaultProtocolClient('riot', process.execPath, args);
|
app.setAsDefaultProtocolClient('riot', process.execPath, args);
|
||||||
|
Loading…
Reference in New Issue
Block a user