Mesh client browser icon
This commit is contained in:
parent
a440fc4acd
commit
2fb249e6ef
|
@ -97,6 +97,9 @@ INSECURE='no'
|
||||||
# optional desktop background image for mesh
|
# optional desktop background image for mesh
|
||||||
MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_background.png
|
MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_background.png
|
||||||
|
|
||||||
|
# The browser application to use
|
||||||
|
BROWSER=iceweasel
|
||||||
|
|
||||||
enable_eatmydata_override() {
|
enable_eatmydata_override() {
|
||||||
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
|
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
|
||||||
if [ -x $rootdir/usr/bin/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 'Icon=terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
||||||
echo 'StartupNotify=true' >> $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
|
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1168,7 +1182,7 @@ function configure_user_interface {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# browser
|
# 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
|
# NOTE: The Tox repo only supports a limited range of architectures
|
||||||
if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then
|
if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then
|
||||||
|
|
Loading…
Reference in New Issue