From 9d145efa826b329da4393f2d3078b118fd8754f5 Mon Sep 17 00:00:00 2001 From: e Date: Tue, 7 Nov 2023 23:05:53 -0300 Subject: [PATCH 1/3] Common: use Android asset compatible methods --- Common/util/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/util/file.cpp b/Common/util/file.cpp index e1beb0ab33a..b274e3e49be 100644 --- a/Common/util/file.cpp +++ b/Common/util/file.cpp @@ -284,8 +284,8 @@ String File::FindFileCI(const String &base_dir, const String &file_name, return {}; // fail, cannot be handled // First try exact match - if ((is_dir && ags_directory_exists(test.GetCStr())) || - (!is_dir && ags_file_exists(test.GetCStr()))) + if ((is_dir && File::IsDirectory(test.GetCStr())) || + (!is_dir && File::IsFile(test.GetCStr()))) return test; // success #if !defined (AGS_CASE_SENSITIVE_FILESYSTEM) From 5468610f83d1c8e457463a8de13fda9a0e72ce1b Mon Sep 17 00:00:00 2001 From: e Date: Wed, 8 Nov 2023 09:40:39 -0300 Subject: [PATCH 2/3] gitignore: ignore Android games being tested --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 9dd3f532192..becd8715764 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,9 @@ bin/ gen/ out/ +# ags game in Android single game project used for testing +Android/mygame/app/src/main/assets + ## end Android related ## Xcode Build generated From 3aa266750997bee505c8aec7f22200b4e1327f4c Mon Sep 17 00:00:00 2001 From: e Date: Wed, 8 Nov 2023 10:25:47 -0300 Subject: [PATCH 3/3] gitignore: ignore Android prebuilt libraries --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index becd8715764..b0c9849f71f 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6 +52,9 @@ out/ # ags game in Android single game project used for testing Android/mygame/app/src/main/assets +# Ignore prebuilt libraries +Android/library/runtime/libs/ + ## end Android related ## Xcode Build generated