nerdunit / androidsideloader

GNU General Public License v3.0
236 stars 54 forks source link

Updated ADB Folder Path from C:/ to System Drive #161

Closed mayanksh3khar closed 1 year ago

mayanksh3khar commented 1 year ago

Updated "adbFolderPath" to be adaptable for all cases even when C: is not the system drive

Here A: is system drive instead of C:. image image

mayanksh3khar commented 1 year ago

Updated Environment Variable to use Path.GetPathRoot instead of %SystemDrive%

frxctura commented 1 year ago

You shouldn't only change this singular line, Rookie will still download & extract ADB into C:/ as that's how its set per code in Sideloader.cs.

Not only that but almost every directory path inside of the source code begins with C:/, so you'd have to ammend this change to each one of those.