qrp73 / K5TOOL

UV-K5 toolkit utility to read/write EEPROM and flashing firmware for Quansheng UV-K5 and UV-R5 radios
GNU General Public License v3.0
38 stars 2 forks source link

bash tweaking #1

Closed sph432 closed 4 months ago

sph432 commented 5 months ago

Your bash launcher won't work if not called from the same directory.

I suggest changing it to something along the lines of

#!/usr/bin/env bash
mono "$(dirname ${BASH_SOURCE[0]:-$0})"/K5TOOL.exe "$@"

so that it will work as intended if added to $PATH.

qrp73 commented 4 months ago

Thanks, fixed in https://github.com/qrp73/K5TOOL/commit/6d193904de2e1e9de43d79fcbe8aa02d89a08514