Skip to content

Commit 183a8a9

Browse files
authored
Merge pull request #39 from ocd0711/main
🚧 适配 Loon 新版插件分类字段
2 parents 44b599c + fda9481 commit 183a8a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Rewrite-Parser.beta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ if (binaryInfo != null && binaryInfo.length > 0) {
10911091
value = value.toLowerCase()
10921092
value = value.includes('mac') ? (value.includes('ios') ? ((delsystem = true), 'mac') : 'mac') : 'ios'
10931093
} else if (isLooniOS && key == 'category') {
1094-
key = 'keyword'
1094+
key = 'tag'
10951095
} else if (!isLooniOS && key == 'keyword') {
10961096
key = 'category'
10971097
}

Rewrite-Parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ if (binaryInfo != null && binaryInfo.length > 0) {
10911091
value = value.toLowerCase()
10921092
value = value.includes('mac') ? (value.includes('ios') ? ((delsystem = true), 'mac') : 'mac') : 'ios'
10931093
} else if (isLooniOS && key == 'category') {
1094-
key = 'keyword'
1094+
key = 'tag'
10951095
} else if (!isLooniOS && key == 'keyword') {
10961096
key = 'category'
10971097
}

0 commit comments

Comments
 (0)