From eb1010573f1aebb69f4db6445ff0d2e164ddf38e Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Sat, 27 Jan 2024 16:26:17 +0100 Subject: [PATCH] update --- manifest | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/manifest b/manifest index 2a0d191..da238ce 100644 --- a/manifest +++ b/manifest @@ -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: () => {