mirror of
https://github.com/revanced/jadb.git
synced 2025-04-30 06:34:39 +02:00
Merge pull request #106 from jevalen4868/bugfix-double-quoting-issue-105
Fix: PackageManager.remove() no longer calls Bash.quote() fixing remove of apk from device.
This commit is contained in:
commit
e985821fd2
@ -44,7 +44,7 @@ public class PackageManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void remove(RemoteFile file) throws IOException, JadbException {
|
private void remove(RemoteFile file) throws IOException, JadbException {
|
||||||
InputStream s = device.executeShell("rm", "-f", Bash.quote(file.getPath()));
|
InputStream s = device.executeShell("rm", "-f", file.getPath());
|
||||||
Stream.readAll(s, StandardCharsets.UTF_8);
|
Stream.readAll(s, StandardCharsets.UTF_8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user