Skip to content

Commit d20b237

Browse files
authored
system loon
1 parent 96324a3 commit d20b237

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Rewrite-Parser.beta.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,9 @@ if (binaryInfo != null && binaryInfo.length > 0) {
801801
for (let key in modInfoObj) {
802802
if (modInfoObj[key]) {
803803
let value = modInfoObj[key]
804-
if (isLooniOS && key == 'category') {
804+
if (isSurgeiOS && key == 'system'){
805+
value = value == 'iOS' ? 'ios' : (value == 'macOS' ? 'mac' : value);
806+
} else if (isLooniOS && key == 'category') {
805807
key = 'keyword'
806808
} else if (!isLooniOS && key == 'keyword') {
807809
key = 'category'

0 commit comments

Comments
 (0)