fix: correct error in types for version manifest's launch arguments
This commit is contained in:
parent
1612d95357
commit
db2162cf49
1 changed files with 7 additions and 7 deletions
|
|
@ -88,6 +88,11 @@ type JVMRule = {
|
|||
os: { name?: string; version?: string; arch?: string };
|
||||
};
|
||||
|
||||
type Argument = {
|
||||
rules: JVMRule[];
|
||||
value: string[] | string;
|
||||
};
|
||||
|
||||
type LibraryRule = {
|
||||
action: "allow" | "disallow";
|
||||
os?: { name?: string; arch?: string };
|
||||
|
|
@ -112,13 +117,8 @@ export type Library = {
|
|||
|
||||
export type Version = {
|
||||
arguments: {
|
||||
game: string[];
|
||||
jvm:
|
||||
| {
|
||||
rules: JVMRule[];
|
||||
value: string[] | string;
|
||||
}
|
||||
| string[];
|
||||
game: (Argument | string)[];
|
||||
jvm: (Argument | string)[];
|
||||
};
|
||||
assetIndex: {
|
||||
id: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue