Handle Origin in system field and import recent changes from the wiki
This commit is contained in:
parent
0cdbad886b
commit
fbad6f2fb2
7 changed files with 128 additions and 70 deletions
|
@ -372,6 +372,8 @@ function getConstraintFromSystem(system: string, path: string): Constraint {
|
|||
constraint.store = "epic";
|
||||
} else if (system.match(/uplay/i)) {
|
||||
constraint.store = "uplay";
|
||||
} else if (system.match(/origin/i)) {
|
||||
constraint.store = "origin";
|
||||
} else {
|
||||
constraint.os = parseOs(system);
|
||||
constraint.store = getStoreConstraintFromPath(path);
|
||||
|
|
Reference in a new issue