mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02: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"
|
||||
chosen="${chosen%%:*}"
|
||||
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."
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user