Skip to content

Commit

Permalink
Adjust to get_save_filename_input as documented. Fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
utkonos committed Jan 24, 2025
1 parent dc0d3d8 commit 5dd9fb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"Windows",
"Linux"
],
"version": "2.0.4",
"version": "2.0.5",
"minimumBinaryNinjaVersion": 6455
}

0 comments on commit 5dd9fb4

Please sign in to comment.