workaround for ui issues

pull/7/head 4.1.4-1-02
binhex 5 years ago
parent 43e9960b51
commit 469aa665ba

@ -3,6 +3,7 @@ enabled=false
program=
[Preferences]
General\Locale=en
Connection\PortRangeMin=6881
Connection\UPnP=false
General\UseRandomPort=false

@ -23,6 +23,9 @@ rm -f /config/qBittorrent/data/BT_backup/session.lock
# force unix line endings conversion in case user edited qbittorrent.conf with notepad
dos2unix "${qbittorrent_config}"
# set locale to prevent 4.1.4 gui render issues if no locale set
grep -q 'General\\Locale' "${qbittorrent_config}" || sed -i '/\[Preferences\]/a General\\Locale=en' "${qbittorrent_config}"
# set default values for port and ip
qbittorrent_port="6881"
qbittorrent_ip="0.0.0.0"

Loading…
Cancel
Save