Skip to content

Commit 0a6d09c

Browse files
authored
Make unzip upon download iOS only
1 parent 77c3d46 commit 0a6d09c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

loader/src/server/DownloadManager.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ class ModDownload::Impl final {
149149
};
150150
}
151151
else {
152+
#ifdef GEODE_IS_IOS
152153
auto okUnzip = LoaderImpl::get()->unzipGeodeFile(m_id);
153154
if (!okUnzip) {
154155
m_status = DownloadStatusError {
@@ -160,6 +161,11 @@ class ModDownload::Impl final {
160161
.version = version
161162
};
162163
}
164+
#else
165+
m_status = DownloadStatusDone {
166+
.version = version
167+
};
168+
#endif
163169
}
164170
}
165171
}

0 commit comments

Comments
 (0)