diff --git a/libretro_scummvm_playlist/__init__.py b/libretro_scummvm_playlist/__init__.py index 5cd7abf..cb9dc8a 100644 --- a/libretro_scummvm_playlist/__init__.py +++ b/libretro_scummvm_playlist/__init__.py @@ -1 +1 @@ -__version__ = '2.4.1' +__version__ = '2.4.2' diff --git a/libretro_scummvm_playlist/__main__.py b/libretro_scummvm_playlist/__main__.py index 796fb45..9cbf45d 100644 --- a/libretro_scummvm_playlist/__main__.py +++ b/libretro_scummvm_playlist/__main__.py @@ -49,6 +49,8 @@ CONFIG = Path(var, 'RetroArch', 'retroarch.cfg') elif sys.platform == 'darwin': CONFIG = Path(Path.home(), 'Library', 'Application Support', 'RetroArch', 'config', 'retroarch.cfg') +elif hasattr(sys, 'getandroidapilevel'): + CONFIG = Path("/", "storage", "emulated", "0", "Android", "data", "com.retroarch.aarch64", "files", "retroarch.cfg") else: #all the rest based on linux. If they arent based on linux, they'll try the else and fail harmlessly later var = os.getenv('XDG_CONFIG_HOME') if var: @@ -238,6 +240,7 @@ def mainaux(cfg: Path = typer.Argument(CONFIG, help='Path to the retroarch cfg f 'scan_search_recursively': True, 'scan_search_archives': False, 'scan_filter_dat_content': False, + 'scan_overwrite_playlist': True, 'items': [] } invalid_paths = [] diff --git a/pyproject.toml b/pyproject.toml index be74553..1de70bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "libretro_scummvm_playlist" -version = "2.4.1" +version = "2.4.2" description = "libretro scummvm playlist builder" authors = ["i30817 "]