Commit 70d3f890 authored by Drahomír Karchňák's avatar Drahomír Karchňák

Merge branch 'feature-desktop-launcher-2' into 'V3.5.1'

Feature desktop launcher 2

See merge request !581
parents a3cbf591 f8e228a8
......@@ -62,7 +62,8 @@ public abstract class TablexiaAbstractFileManager extends AssetManager {
}
private enum BuildTypeFileHandler {
EXTERNAL(TablexiaSettings.BuildType.ITEST, new ExternalFileHandleResolver()),
ITEST(TablexiaSettings.BuildType.ITEST, new ExternalFileHandleResolver()),
EXTERNAL(null, new ExternalFileHandleResolver()),
LOCAL(null, new LocalFileHandleResolver());
private TablexiaSettings.BuildType buildType;
......@@ -79,7 +80,8 @@ public abstract class TablexiaAbstractFileManager extends AssetManager {
return buildTypeFileHandler;
}
}
return LOCAL;
// desktop version would save assets in user home directory, where mobile version would use application folder
return TablexiaSettings.getInstance().getPlatform().equals(TablexiaSettings.Platform.DESKTOP) ? EXTERNAL : LOCAL;
}
public FileHandleResolver getFileHandlerResolver() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment