From 5dd9fb49edc47360a8d1be2ec090d2d20c82b7cc Mon Sep 17 00:00:00 2001 From: Malware Utkonos Date: Fri, 24 Jan 2025 14:47:07 -0500 Subject: [PATCH] Adjust to get_save_filename_input as documented. Fixes #7 --- __init__.py | 2 +- plugin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 8549e53..4a03e76 100644 --- a/__init__.py +++ b/__init__.py @@ -40,7 +40,7 @@ def export_db(bv): outpath = bv.file.database.globals.get('x64dbg_db_save_path', pathlib.Path(bv.file.filename).parent) dbext = 'dd{}'.format(bv.arch.address_size * 8) - if not (f := get_save_filename_input('Export database', dbext, f'{outpath}/{module.stem}.{dbext}')): + if not (f := get_save_filename_input('Export database', f'*.{dbext}', f'{outpath}/{module.stem}.{dbext}')): return file = pathlib.Path(f) log(LogLevel.InfoLog, f'Exporting database: {file}') diff --git a/plugin.json b/plugin.json index 87720e6..dee7b8b 100644 --- a/plugin.json +++ b/plugin.json @@ -19,6 +19,6 @@ "Windows", "Linux" ], - "version": "2.0.4", + "version": "2.0.5", "minimumBinaryNinjaVersion": 6455 }