2015-12-28 01:53:30 +01:00
|
|
|
#!/data/data/com.termux/files/usr/bin/sh
|
|
|
|
|
|
|
|
if [ "$#" != "0" ]; then
|
|
|
|
echo 'usage: termux-setup-storage'
|
|
|
|
echo 'Use without arguments to ensure storage permission granted'
|
|
|
|
echo 'and symlinks to storage available in $HOME/.storage'
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2016-04-11 02:20:17 +02:00
|
|
|
am broadcast --user 0 \
|
2015-12-28 01:53:30 +01:00
|
|
|
--es com.termux.app.reload_style storage \
|
|
|
|
-a com.termux.app.reload_style com.termux > /dev/null
|