Hi, I encountered an error when copying the file folder to the device.
device.push(str(obb_folder), "/sdcard/Android/obb/") # obb_folder is WindowsPath object with absolute path
Result:
com.xxx -- directory, emptycom.xxx\xxx.obb -- wrongly named file
Expected result:
com.xxx\xxx.obb -- directory with xxx.obb file
Trying to remove trailing slash from dest folder
Also, when I tried dest path "/sdcard/Android/obb" instead of "/sdcard/Android/obb/", I found the file in the Android folder with name obb\com.xxx\xxx.obb
Info
Platform: Windows
Python 3.11.2
pure-python-adb 0.3.0.dev0
Hi, I encountered an error when copying the file folder to the device.
Result:
com.xxx
-- directory, emptycom.xxx\xxx.obb
-- wrongly named fileExpected result:
com.xxx\xxx.obb
-- directory with xxx.obb fileTrying to remove trailing slash from dest folder
Also, when I tried dest path
"/sdcard/Android/obb"
instead of"/sdcard/Android/obb/"
, I found the file in the Android folder with nameobb\com.xxx\xxx.obb
Info
Platform: Windows Python 3.11.2 pure-python-adb 0.3.0.dev0