This commit is contained in:
SrGooglo 2024-01-27 16:26:17 +01:00
parent 28837f8757
commit eb1010573f
1 changed files with 6 additions and 10 deletions

View File

@ -66,6 +66,9 @@ module.exports = {
from: "origin/main",
}
]
},
after_install: async () => {
},
executable: true,
check_updates_after_execute: true,
@ -76,11 +79,8 @@ module.exports = {
{
root: pkg.install_path,
authorization: auth,
version: internalVars.mc_version.forge,
_version: {
number: internalVars.mc_version.number,
type: internalVars.mc_version.type
},
javaPath: pkg.install_path + `/jdk/bin/java`,
version: internalVars.mc_version,
memory: {
max: pkg.storaged_configs?.assigned_memory ?? defaultConfig.assigned_memory,
min: 2048
@ -93,11 +93,7 @@ module.exports = {
server: internalVars.public_ip,
port: internalVars.public_ip_port,
},
},
customLaunchArgs: [
`--server ${internalVars.public_ip}`,
`--port ${internalVars.public_ip_port}`,
],
}
},
{
install: () => {