update
This commit is contained in:
parent
892a2a6be7
commit
28837f8757
6
manifest
6
manifest
|
@ -12,6 +12,7 @@ const internalVars = {
|
||||||
public_ip_port: "25565",
|
public_ip_port: "25565",
|
||||||
git_source: "https://git.ragestudio.net/srgooglo/jaen-united-2024",
|
git_source: "https://git.ragestudio.net/srgooglo/jaen-united-2024",
|
||||||
mc_version: {
|
mc_version: {
|
||||||
|
forge: "1.20.1-forge-47.2.17",
|
||||||
number: "1.20.1",
|
number: "1.20.1",
|
||||||
type: "release",
|
type: "release",
|
||||||
}
|
}
|
||||||
|
@ -69,15 +70,14 @@ module.exports = {
|
||||||
executable: true,
|
executable: true,
|
||||||
check_updates_after_execute: true,
|
check_updates_after_execute: true,
|
||||||
execute: async (pkg) => {
|
execute: async (pkg) => {
|
||||||
console.log(pkg)
|
|
||||||
|
|
||||||
const auth = await pkg.libraries.mcl.auth((pkg.storaged_configs?.username ?? defaultConfig.username))
|
const auth = await pkg.libraries.mcl.auth((pkg.storaged_configs?.username ?? defaultConfig.username))
|
||||||
|
|
||||||
return pkg.libraries.mcl.launch(
|
return pkg.libraries.mcl.launch(
|
||||||
{
|
{
|
||||||
root: pkg.install_path,
|
root: pkg.install_path,
|
||||||
authorization: auth,
|
authorization: auth,
|
||||||
version: {
|
version: internalVars.mc_version.forge,
|
||||||
|
_version: {
|
||||||
number: internalVars.mc_version.number,
|
number: internalVars.mc_version.number,
|
||||||
type: internalVars.mc_version.type
|
type: internalVars.mc_version.type
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue