update
This commit is contained in:
parent
eb1010573f
commit
8d3abe1b67
19
manifest
19
manifest
|
@ -23,6 +23,12 @@ const defaultConfig = {
|
||||||
assigned_memory: 4096,
|
assigned_memory: 4096,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const JAVA_JRE_REMOTES = {
|
||||||
|
"win32": "https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027ac/13/GPL/openjdk-21.0.2_windows-x64_bin.zip",
|
||||||
|
"darwin": "https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027ac/13/GPL/openjdk-21.0.2_macos-x64_bin.tar.gz",
|
||||||
|
"linux": "https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027ac/13/GPL/openjdk-21.0.2_linux-x64_bin.tar.gz"
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
...vars,
|
...vars,
|
||||||
rsb_minimun_version: "0.9.3",
|
rsb_minimun_version: "0.9.3",
|
||||||
|
@ -67,8 +73,17 @@ module.exports = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
after_install: async () => {
|
init: async ({os_string, install_path}) => {
|
||||||
|
return {
|
||||||
|
install_steps: {
|
||||||
|
http_downloads: [
|
||||||
|
{
|
||||||
|
url: JAVA_JRE_REMOTES[os_string],
|
||||||
|
extract: `${install_path}/jdk`,
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
executable: true,
|
executable: true,
|
||||||
check_updates_after_execute: true,
|
check_updates_after_execute: true,
|
||||||
|
|
Loading…
Reference in New Issue