Add support for Java options. (#59)
This commit is contained in:
8
package-lock.json
generated
8
package-lock.json
generated
@@ -12,7 +12,7 @@
|
||||
"dotenv": "^16.0.3",
|
||||
"fs-extra": "^11.1.0",
|
||||
"got": "^12.6.0",
|
||||
"helios-distribution-types": "^1.1.0",
|
||||
"helios-distribution-types": "^1.2.0",
|
||||
"luxon": "^3.3.0",
|
||||
"minimatch": "^7.4.2",
|
||||
"node-stream-zip": "^1.15.0",
|
||||
@@ -1403,9 +1403,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/helios-distribution-types": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/helios-distribution-types/-/helios-distribution-types-1.1.0.tgz",
|
||||
"integrity": "sha512-mxZPvPIBTltWUGzMzj/8LuG/UPwIEf7ZCE9h9o7pj1QCsMsctQIDu8bv91HDUEH0MByghe+t5Pi5XCHTHhzayg=="
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/helios-distribution-types/-/helios-distribution-types-1.2.0.tgz",
|
||||
"integrity": "sha512-C8mRJGK0zAc7rRnA06Sj0LYwVqhY445UYNTmXU876AmfBirRR2F+A3LsD3osdgTxRMzrgkxBXvYZ0QbYW6j+6Q=="
|
||||
},
|
||||
"node_modules/http-cache-semantics": {
|
||||
"version": "4.1.1",
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"dotenv": "^16.0.3",
|
||||
"fs-extra": "^11.1.0",
|
||||
"got": "^12.6.0",
|
||||
"helios-distribution-types": "^1.1.0",
|
||||
"helios-distribution-types": "^1.2.0",
|
||||
"luxon": "^3.3.0",
|
||||
"minimatch": "^7.4.2",
|
||||
"node-stream-zip": "^1.15.0",
|
||||
|
||||
@@ -61,6 +61,7 @@ export interface ServerMeta {
|
||||
discord?: Server['discord']
|
||||
mainServer: Server['mainServer']
|
||||
autoconnect: Server['autoconnect']
|
||||
javaOptions?: Server['javaOptions']
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -192,6 +192,7 @@ export class ServerStructure extends BaseModelStructure<Server> {
|
||||
...(serverMeta.meta.discord ? {discord: serverMeta.meta.discord} : {}),
|
||||
mainServer: serverMeta.meta.mainServer,
|
||||
autoconnect: serverMeta.meta.autoconnect,
|
||||
javaOptions: serverMeta.meta.javaOptions,
|
||||
modules
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user