Skip to content

Commit

Permalink
Merge pull request #43 from ronggang/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Bright-W committed Nov 8, 2022
2 parents 962ecfb + d1e8200 commit f1dc5b7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 32 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/deploy.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/dev_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,37 @@ jobs:
uses: actions/checkout@master

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '16'

- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: benjlevesque/short-sha@v1.2
- uses: benjlevesque/short-sha@v2.1
id: short-sha

- run: yarn release
env:
CRX_PRIVATE_KEY: ${{ secrets.CRX_PRIVATE_KEY }}

- name: Upload dev_build_zip
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dev-build-${{ steps.short-sha.outputs.sha }}-zip
path: releases/*.zip

- name: Upload dev_build_crx
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dev-build-${{ steps.short-sha.outputs.sha }}-crx
path: releases/*.crx
2 changes: 1 addition & 1 deletion resource/sites/hdbits.org/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
//配置
category: 0
};
if(rows.eq(0).find(">td").length == 9) {
if(rows.eq(0).find("td[id*=codec]").length == 0) {
fieldIndex = {time: 3,size: 4,seeders: 6,leechers: 7,completed: 5,name: 1,author: 8,category: 0};
}
if (site.url.substr(-1) == "/") {
Expand Down
1 change: 1 addition & 0 deletions src/options/components/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@click.stop="showSelectBox"
@click:clear="clearSearchKey"
:loading="loadStatus"
enterkeyhint="search"
v-on:keyup.enter="searchTorrent()"
>
<!-- 近期热门 -->
Expand Down
1 change: 1 addition & 0 deletions src/options/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
label="Search"
single-line
hide-details
enterkeyhint="search"
></v-text-field>
</v-card-title>

Expand Down
1 change: 1 addition & 0 deletions src/options/views/search/SearchTorrent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
:label="$t('searchTorrent.filterSearchResults')"
single-line
hide-details
enterkeyhint="search"
></v-text-field>
</div>
</v-flex>
Expand Down

0 comments on commit f1dc5b7

Please sign in to comment.