Fixed android device not mounting to root owned directories (#1273)
This commit is contained in:
parent
12167f3dda
commit
335c1bc8af
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ case "$chosen" in
|
||||||
echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter"
|
echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter"
|
||||||
chosen="${chosen%%:*}"
|
chosen="${chosen%%:*}"
|
||||||
chosen="${chosen:1}" # This is a bashism.
|
chosen="${chosen:1}" # This is a bashism.
|
||||||
simple-mtpfs --device "$chosen" "$mp"
|
sudo -A simple-mtpfs -o allow_other --device "$chosen" "$mp"
|
||||||
notify-send "🤖 Android Mounted." "Android device mounted to $mp."
|
notify-send "🤖 Android Mounted." "Android device mounted to $mp."
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue