mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
remove trezorctl-emu.sh script, trezorctl now uses default pipe path if not provided
This commit is contained in:
parent
16b6289c50
commit
e00453661d
@ -78,6 +78,8 @@ def get_transport(transport_string, path, **kwargs):
|
|||||||
|
|
||||||
if transport_string == 'pipe':
|
if transport_string == 'pipe':
|
||||||
from trezorlib.transport_pipe import PipeTransport
|
from trezorlib.transport_pipe import PipeTransport
|
||||||
|
if path == '':
|
||||||
|
path = '/tmp/pipe.trezor'
|
||||||
return PipeTransport(path, is_device=False, **kwargs)
|
return PipeTransport(path, is_device=False, **kwargs)
|
||||||
|
|
||||||
if transport_string == 'bridge':
|
if transport_string == 'bridge':
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
./trezorctl -t pipe -p /tmp/pipe.trezor $*
|
|
Loading…
Reference in New Issue
Block a user