android: name push_assets.py in the missing-data message

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-12 18:59:50 +09:00
co-authored by Claude Opus 5.5
parent 81bf7ae629
commit 1dfdcba739
+2 -2
View File
@@ -213,7 +213,7 @@ int main(int argc, char** argv) {
#elif defined(__ANDROID__)
// The APK holds code only. The flattened client root (assets/loose + python-root + python27.zip,
// android/push-assets.sh) lives in the app's external files directory; the legacy code reads
// android/push_assets.py) lives in the app's external files directory; the legacy code reads
// paths relative to the working directory.
{
const char* data = SDL_GetAndroidExternalStoragePath();
@@ -305,7 +305,7 @@ int main(int argc, char** argv) {
#ifdef __ANDROID__
if (stdlib.empty() || script_root.empty()) {
const std::string message = "Game data not found in " + std::filesystem::current_path().string()
+ ".\nPush it with android/push-assets.sh.";
+ ".\nPush it with android/push_assets.py.";
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "AVA2", message.c_str(), nullptr);
throw std::runtime_error(message);
}