NicolasWebDev / reinstall-magisk-on-lineageos

Small bash script to reinstall magisk after each LineageOS update
72 stars 15 forks source link

Use the first adb device found instead of having to configure its serial number #7

Open NicolasWebDev opened 2 years ago

darthr4v3m commented 1 year ago

Nice idea but maybe a little unsafe idea without control. I suggest to propose to use the first device found and leave the user in control asking a confirmation.

nfriedly commented 1 year ago

I think this would be safe any time there is exactly one device connected. Ask the user to specify which one and bail out if there are multiple.

NicolasWebDev commented 1 year ago

Seems like a good idea @nfriedly .