stossy11 / JITStreamer-2.0

This is a JIT Enabler for iOS 17+ over VPN (based on SideJITServer)
GNU General Public License v3.0
90 stars 8 forks source link

Fix Wrong Upload Location When Sudoing #3

Closed hugeBlack closed 2 months ago

hugeBlack commented 2 months ago

As the title says, the folder that

            user_home = os.path.expanduser('~')
            upload_folder = os.path.join(user_home, '.pymobiledevice3')

finds may not match the one that common.get_home_folder() finds. This may cause pymobiledevice3 failed to find the paring files, especially when sudoing (tested in RPi OS), which is probably one reason for #1.

Change is made in this PR to make the path in accordance with the one in modified pymobiledevice3 (see here).

stossy11 commented 2 months ago

gotcha