ports/net-im/linux-whatsdesk/files/linux-whatsdesk.in
Nicola Vitale f3d18ded68
net-im/linux-whatsdesk: Add new port
WhatsDesk is an unofficial client of Whatsapp.

This project is only inserting an instance of Whatsapp Web in an electron app
and adds/enables desktop notifications.

https://gitlab.com/zerkc/whatsdesk
2024-08-26 16:14:37 +02:00

11 lines
348 B
Bash
Executable file

#!%%LINUXBASE%%/bin/bash
export ELECTRON_IS_DEV=0
export LIBGL_DRI3_DISABLE=1
export NODE_ENV=production
# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234
if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then
export DBUS_SESSION_BUS_ADDRESS="autolaunch:"
fi
exec -a "$0" "%%DATADIR%%/whatsdesk" --no-sandbox "$@"