added configuration
This commit is contained in:
parent
93bf0a238e
commit
2018a5beb8
|
@ -2,8 +2,8 @@ class Manifest {
|
||||||
static useLib = ["path", "fs", "auth", "mcl"]
|
static useLib = ["path", "fs", "auth", "mcl"]
|
||||||
|
|
||||||
static id = "hfmc"
|
static id = "hfmc"
|
||||||
static pkg_name = "Hispano Furs MC"
|
|
||||||
static version = "0.1.0"
|
static version = "0.1.0"
|
||||||
|
static pkg_name = "Hispano Furs MC"
|
||||||
static description = "A Minecraft modpack"
|
static description = "A Minecraft modpack"
|
||||||
static icon = "https://git.ragestudio.net/srgooglo/hfmc-dev/raw/branch/main/icon.png"
|
static icon = "https://git.ragestudio.net/srgooglo/hfmc-dev/raw/branch/main/icon.png"
|
||||||
static license = "unlicensed"
|
static license = "unlicensed"
|
||||||
|
@ -24,6 +24,22 @@ class Manifest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration = {
|
||||||
|
memory: {
|
||||||
|
default: 4096,
|
||||||
|
label: "Assigned Memory",
|
||||||
|
type: "number",
|
||||||
|
icon: "MdMemory",
|
||||||
|
ui_component: "slider",
|
||||||
|
ui_component_props: {
|
||||||
|
min: 2048,
|
||||||
|
max: 8192,
|
||||||
|
step: 1024,
|
||||||
|
unit: "MB"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
authService = {
|
authService = {
|
||||||
...Manifest.vars.auth
|
...Manifest.vars.auth
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue