summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-22 19:00:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-22 20:01:44 +0300
commit79d620a4b41e877d7b50f1537f135c85ac9ddc73 (patch)
treee6035ea917d2e46810adb3361533b2c3e36fda33 /src/dirs.cpp
parent7ca25eb87966f805265cd22086af8c113b7af822 (diff)
downloadmv-79d620a4b41e877d7b50f1537f135c85ac9ddc73.tar.gz
mv-79d620a4b41e877d7b50f1537f135c85ac9ddc73.tar.bz2
mv-79d620a4b41e877d7b50f1537f135c85ac9ddc73.tar.xz
mv-79d620a4b41e877d7b50f1537f135c85ac9ddc73.zip
Dont unpack data.zip on Android.
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r--src/dirs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp
index 878bd62f8..6f867ba91 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -179,7 +179,9 @@ void Dirs::extractDataDir()
const std::string zipName = pathJoin(getenv("APPDIR"), "data.zip");
const std::string dirName = pathJoin(getenv("APPDIR"), "data");
- Files::extractZip(zipName, "data", dirName);
+ VirtFs::mountZip2(zipName,
+ "data",
+ Append_false);
Files::extractLocale();
#endif // defined(ANDROID) && defined(USE_SDL2)
}