mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Fixed android device not mounting to root owned directories (#1273)
This commit is contained in:
parent
12167f3dda
commit
335c1bc8af
@ -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…
x
Reference in New Issue
Block a user