mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
11 lines
348 B
Bash
Executable file
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 "$@"
|