summaryrefslogtreecommitdiff
path: root/scripts/common-crosswalk.post
blob: 793b49f1a3eed8bceb9ae09b0d398b6a8a4264a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
############### common-crosswalk.post ################

# start wrt widgets preinstall
prepare_widgets.sh

# make crosswak start in default target
mkdir -p /lib/systemd/user/default.target.wants/
ln -s ../xwalk.service /lib/systemd/user/default.target.wants/

# add launchers to weston.ini
if [ -f /usr/bin/weston ]; then

	cat >>/etc/xdg/weston/weston.ini <<EOF

## crosswalk applications ##

[launcher]
icon=/usr/share/icons/tizen/32x32/web-browser.png
path=/usr/lib64/xwalk/xwalk http://www.google.com

EOF

fi