Files
why3/misc/deployed-wrapper.sh
Guillaume Melquiond 061032e882 Add support for Broadway in the deployed image.
The wrapper script checks for the WHY3IDE environment variable to decide
whether it should intercept the "ide" command and launch broadwayd.

Pango, as shipped in the deployed image, does not seem to appreciate
font size specifications, thus causing text to appear only in menus and
dialogs. So, we disable this feature when the GDK_BACKEND environment
variable is set to "broadway".
2021-02-25 16:59:47 +01:00

9 lines
131 B
Bash
Executable File

#!/bin/dash
[ "$1" != "ide" -o "$WHY3IDE" != "web" ] && exec why3 "$@"
broadwayd &
sleep 1
export GDK_BACKEND=broadway
why3 "$@"