Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #44

Merged
merged 3 commits into from
Nov 28, 2022
Merged

Dev #44

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish to Chrome Web Store
# 创建新 release 时自动发布到 Chrome Web Store
on:
release:
types:
- created
jobs:
publish:
name: Checkout & Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Deploy
uses: borales/actions-yarn@master
env:
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
CRX_PRIVATE_KEY: ${{ secrets.CRX_PRIVATE_KEY }}
with:
cmd: deploy
2 changes: 1 addition & 1 deletion resource/schemas/UNIT3D/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}

// 大小
if (cell.find("i.fa-database").length) {
if (cell.attr('class').indexOf("torrent-listings-size") > -1 || cell.find("i.fa-database").length) {
fieldIndex.size = index;
continue;
}
Expand Down
10 changes: 10 additions & 0 deletions resource/sites/hawke.uno/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "HUNO",
"timezoneOffset": "+0000",
"schema": "UNIT3D",
"url": "https://hawke.uno/",
"icon": "https://hawke.uno/favicon.ico",
"tags": ["影视"],
"host": "hawke.unoz",
"collaborator": ["fzlins"]
}