Skip to content
Snippets Groups Projects
Commit 2fb249e6 authored by Bob Mottram's avatar Bob Mottram
Browse files

Mesh client browser icon

parent a440fc4a
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,9 @@ INSECURE='no'
# optional desktop background image for mesh
MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_background.png
# The browser application to use
BROWSER=iceweasel
enable_eatmydata_override() {
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
if [ -x $rootdir/usr/bin/eatmydata ] && \
......@@ -1121,6 +1124,17 @@ function mesh_desktop_icons {
echo 'Icon=terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
# Terminal
echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'Name=Mesh' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'Type=Application' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'Comment=Browse the mesh' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
# browse
echo 'TryExec=meshweb' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'Exec=meshweb' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo "Icon=$BROWSER" >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop
}
......@@ -1168,7 +1182,7 @@ function configure_user_interface {
fi
# browser
chroot "$rootdir" apt-get -y install iceweasel
chroot "$rootdir" apt-get -y install $BROWSER
# NOTE: The Tox repo only supports a limited range of architectures
if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment