domination-client.sh 440 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"

PRODUCT=domination-client
PRODUCTDIR="/opt/Domination/Client"

. $(dirname $0)/common-chromium-browser.sh

# many side effects due the space
move_to_opt "/opt/Domination Client"
subst "s|/opt/Domination Client/||" $BUILDROOT/usr/share/applications/domination-client.desktop

15 16
pack_dir $PRODUCTDIR

17 18
add_bin_link_command

19
add_electron_deps
20 21

fix_chrome_sandbox