mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-22 23:57:33 +01:00
parent
9eade33d72
commit
fe07e09d41
@ -97,10 +97,14 @@ public class PBWReader {
|
||||
return;
|
||||
}
|
||||
|
||||
String platformDir = determinePlatformDir(uriHelper, platform);
|
||||
String platformDir = "";
|
||||
if (!uriHelper.getFileName().endsWith(".pbz")) {
|
||||
platformDir = determinePlatformDir(uriHelper, platform);
|
||||
|
||||
if (platform.equals("chalk") && platformDir.equals("")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
LOG.info("using platformdir: '" + platformDir + "'");
|
||||
String appName = null;
|
||||
@ -237,9 +241,6 @@ public class PBWReader {
|
||||
private String determinePlatformDir(UriHelper uriHelper, String platform) throws IOException {
|
||||
String platformDir = "";
|
||||
|
||||
if (uriHelper.getFileName().endsWith(".pbz")) {
|
||||
return platformDir;
|
||||
}
|
||||
/*
|
||||
* for aplite and basalt it is possible to install 2.x apps which have no subfolder
|
||||
* we still prefer the subfolders if present.
|
||||
|
Loading…
x
Reference in New Issue
Block a user