Skip to content

Commit

Permalink
Add support for Java options. (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi authored Mar 20, 2023
1 parent 3efef73 commit 4fd0a76
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/model/nebula/ServerMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export interface ServerMeta {
discord?: Server['discord']
mainServer: Server['mainServer']
autoconnect: Server['autoconnect']
javaOptions?: Server['javaOptions']
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/structure/spec_model/Server.struct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down

0 comments on commit 4fd0a76

Please sign in to comment.