Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/sh
for file in ${@}; do
r=`ls -l $file | cut -c5`
w=`ls -l $file | cut -c6`
x=`ls -l $file | cut -c7`
if [[ $r == "r" ]]; then
chmod a+r $file
else
chmod a-r $file
fi
if [[ $w == "w" ]]; then
chmod a+w $file
else
chmod a-w $file
fi
if [[ $x == "x" ]]; then
chmod a+x $file
else
chmod a-x $file
fi
done