mirror of
https://github.com/Simple-Tracker/qBittorrent-ClientBlocker.git
synced 2025-01-07 03:06:41 +08:00
Bug fix
This commit is contained in:
parent
47952ee543
commit
8d5a3ab6e0
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
md5sum: false
|
||||
sha256sum: false
|
||||
binary_name: 'qBittorrent-ClientBlocker'
|
||||
extra_files: 'lang/ LICENSE *.md *.json '
|
||||
extra_files: 'lang/ LICENSE *.md *.txt *.json'
|
||||
- name: 'Upload GitHub Artifact (Nightly)'
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ github.event_name != 'release' }}
|
||||
|
@ -17,7 +17,7 @@ RUN PROGRAM_VERSION="$(basename ${GITHUB_REF})"; \
|
||||
|
||||
RUN . /envfile; echo "Running on ${BUILDOS}/${BUILDARCH}, Building for ${TARGETOS}/${TARGETARCH}, Version: ${PROGRAM_VERSION}"
|
||||
|
||||
ADD lang/ *LICENSE* *.md *.go *.sh go.mod go.sum config.json ./
|
||||
ADD lang/ *LICENSE* *.md *.go *.sh *.txt *.json go.mod go.sum ./
|
||||
|
||||
RUN go mod download
|
||||
RUN . /envfile; go build -ldflags "-w -X \"main.programVersion=${PROGRAM_VERSION}\"" -o qBittorrent-ClientBlocker
|
||||
|
@ -14,7 +14,7 @@
|
||||
"skipCertVerification": false,
|
||||
"blockListFile": [
|
||||
"blockList.json",
|
||||
// "blockBackList.json",
|
||||
// "blockList-Optional.json"
|
||||
],
|
||||
"blockListURL": [
|
||||
"https://bta.iaalai.cn/qBittorrent-ClientBlocker/blockList.json",
|
||||
@ -22,14 +22,13 @@
|
||||
],
|
||||
"portBlockList": [],
|
||||
"ipBlockList": [
|
||||
"customIpBlock.txt",
|
||||
"ipBlockList.txt"
|
||||
],
|
||||
"ipBlockListURL": [
|
||||
"https://bta.iaalai.cn/BTN-Collected-Rules/combine/all.txt",
|
||||
"https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt",
|
||||
"https://bta.iaalai.cn/BTN-Collected-Rules/qBittorrent-ClientBlocker/blockIP.txt",
|
||||
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/blockIP.txt"
|
||||
"https://bta.iaalai.cn/BTN-Collected-Rules/qBittorrent-ClientBlocker/ipBlockList.txt",
|
||||
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt"
|
||||
],
|
||||
"ipBlockListFile": []
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user