use new config
This commit is contained in:
parent
2018a5beb8
commit
0ce3efc6bf
|
@ -12,20 +12,9 @@ class Manifest {
|
||||||
|
|
||||||
static git_remote = "https://git.ragestudio.net/srgooglo/hfmc-dev"
|
static git_remote = "https://git.ragestudio.net/srgooglo/hfmc-dev"
|
||||||
|
|
||||||
static vars = {
|
|
||||||
auth: {
|
|
||||||
login: "https://hispanofurs.comty.app/auth",
|
|
||||||
fetcher: "https://hispanofurs.comty.app/rsauthorize",
|
|
||||||
getter: "https://hispanofurs_api.comty.app/data",
|
|
||||||
},
|
|
||||||
memory: {
|
|
||||||
min: 2048,
|
|
||||||
max: Config.get("memory")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
configuration = {
|
configuration = {
|
||||||
memory: {
|
memory: {
|
||||||
|
min: 2048,
|
||||||
default: 4096,
|
default: 4096,
|
||||||
label: "Assigned Memory",
|
label: "Assigned Memory",
|
||||||
type: "number",
|
type: "number",
|
||||||
|
@ -41,7 +30,9 @@ class Manifest {
|
||||||
}
|
}
|
||||||
|
|
||||||
authService = {
|
authService = {
|
||||||
...Manifest.vars.auth
|
login: "https://hispanofurs.comty.app/auth",
|
||||||
|
fetcher: "https://hispanofurs.comty.app/rsauthorize",
|
||||||
|
getter: "https://hispanofurs_api.comty.app/data",
|
||||||
}
|
}
|
||||||
|
|
||||||
installSteps = [
|
installSteps = [
|
||||||
|
@ -80,7 +71,10 @@ class Manifest {
|
||||||
javaPath: Vars.binaries.java_jre_bin,
|
javaPath: Vars.binaries.java_jre_bin,
|
||||||
root: install_path,
|
root: install_path,
|
||||||
authorization: auth,
|
authorization: auth,
|
||||||
memory: Manifest.vars.memory,
|
memory: {
|
||||||
|
min: this.configuration.memory.min,
|
||||||
|
max: Config.get("memory"),
|
||||||
|
},
|
||||||
forge: `${install_path}/forge-installer.jar`,
|
forge: `${install_path}/forge-installer.jar`,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue