Skip to content

Commit

Permalink
Allow 'force' option with 'offline' option.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrojean-ledger committed Dec 6, 2023
1 parent 6081cd9 commit 33d6c6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ledgerwallet/ledgerctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def install_app(get_client, manifest: AppManifest, force, offline):
sys.exit(1)
click.echo("Dumping APDU installation file to {}".format(offline))
client = get_file_device(dump_file, app_manifest.target_id)
if force:
client.delete_app(app_manifest.app_name)
else:
client = get_client()
if force:
Expand Down

0 comments on commit 33d6c6d

Please sign in to comment.