mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
17 lines
321 B
Bash
Executable File
17 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
PYOPT="${PYOPT:-1}"
|
|
|
|
if [ -n "$1" ]; then
|
|
echo "This is just a compatibility wrapper. Use emu.py if you want features."
|
|
exit 1
|
|
fi
|
|
|
|
TREZOR_MODEL="${TREZOR_MODEL:-T}"
|
|
if [ "$TREZOR_MODEL" = "T" ]; then
|
|
cd src
|
|
else
|
|
cd "src${TREZOR_MODEL}"
|
|
fi
|
|
|
|
../build/unix/trezor-emu-core -O$PYOPT -X heapsize=20M
|