Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
[Fix]: Add HAVE_WEBUSB flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Oct 31, 2023
1 parent 62cf404 commit a893b7c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,7 @@ DEFINES += U2F_PROXY_MAGIC=\"XTZ\"
DEFINES += HAVE_IO_U2F HAVE_U2F
endif

### webusb support (wallet app only)
ifeq ($(APP), tezos_wallet)
#WEBUSB_URL = www.ledgerwallet.com
#DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=$(shell echo -n $(WEBUSB_URL) | wc -c) WEBUSB_URL=$(shell echo -n $(WEBUSB_URL) | sed -e "s/./\\\'\0\\\',/g")
DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=0 WEBUSB_URL=""
endif
DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=0 WEBUSB_URL=""

load: all
python3 -m ledgerblue.loadApp $(APP_LOAD_PARAMS)
Expand Down

0 comments on commit a893b7c

Please sign in to comment.