diff --git a/README.MD b/README.MD index 22dddae..f4876c3 100644 --- a/README.MD +++ b/README.MD @@ -13,31 +13,31 @@ ### Clone this repo (Windows) 1. Clone or download this repo as a .ZIP 2. Move it somewhere where qBittorrent can find it. +3. Ensure you use a trailing slash. ### Clone this repo (Linux) -1. `cd /opt` -2. `sudo git clone https://github.com/repslet/nightwalker.git` -3. `sudo chmod -R 777 nightwalker` +1. `sudo git clone https://github.com/brettpetch/nightwalker.git /opt/nightwalker` +3. `sudo chown -R nobody:nogroup /opt/nightwalker/` ### Activate Alterative WebUI in qBittorrent 1. Under `Tools->Preferences->WebUI` enable `Use alternative WebUI`. -2. Choose a location that points to the `Nightwalker` folder, i.e. `/opt/nightwalker` +2. Choose a location that points to the `nightwalker` folder, i.e. `/opt/nightwalker/` 3. Restart qBittorrent or refresh your browser for changes to take effect. You can also change these settings via the config file. The relevant entries are: -- WebUI\AlternativeUIEnabled=true -- WebUI\RootFolder=/path/to/Nightwalker +- `WebUI\AlternativeUIEnabled=true` +- `WebUI\RootFolder=/opt/nightwalker/` ### Update theme (Linux) -1. `cd /opt/nightwalker` -2. `git checkout main` -3. `git fetch origin main` -4. `git reset --hard origin/main` +1. `git -C /opt/nightwalker checkout main` +2. `git -C /opt/nightwalker fetch origin main` +3. `git -C /opt/nightwalker reset --hard origin/main` +4. `sudo chown -R nobody:nogroup /opt/nightwalker` ### Tested -Based on the standard qBittorrent WebUI theme (4.3.2 release). -Tested in 4.3.1 and 4.3.2 +Based on the standard qBittorrent WebUI theme (4.3.8 release). +Tested in Updated to 4.3.8 #### A note for those who used the [Theme Park][theme.park] nginx mod Modify your nginx config and remove the lines that introduced the external css, anything after `rewrite ^/qbittorrent/(.*) /$1 break; ` (non inclusive) is something that can be removed. Do not leave -modded, or any other files that are not necessary for nginx to function in the `/etc/nginx/apps/` directory. Reload nginx after making changes by doing `sudo service nginx configtest`, if it returns OK, then proceed and do `sudo service nginx reload`. diff --git a/private/addpeers.html b/private/addpeers.html index f128349..e4760d6 100644 --- a/private/addpeers.html +++ b/private/addpeers.html @@ -1,70 +1,72 @@ -
- -QBT_TR(List of peers to add (one IP per line):)QBT_TR[CONTEXT=PeersAdditionDialog]
- -QBT_TR(List of peers to add (one IP per line):)QBT_TR[CONTEXT=PeersAdditionDialog]
+ +