added new
This commit is contained in:
parent
90bd176728
commit
d5d7e2bb09
|
@ -0,0 +1,53 @@
|
|||
global._ = {
|
||||
bundles: {
|
||||
"win32-x64": {
|
||||
id: "18Qlobt3S9si6X1Ze_yiibNPYlDhHsRJB",
|
||||
filename: "bundle.zip",
|
||||
},
|
||||
"darwin-x64": {
|
||||
url: "18Qlobt3S9si6X1Ze_yiibNPYlDhHsRJB",
|
||||
filename: "bundle.zip",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
id: "it_takes_two",
|
||||
name: "It Takes Two",
|
||||
version: "1.0.0",
|
||||
icon: "https://styles.redditmedia.com/t5_2osphh/styles/communityIcon_e9goltpyy6q61.png",
|
||||
description: "It Takes Two es un videojuego de acción y aventura con elementos de plataformas desarrollado por Hazelight Studios y publicado por Electronic Arts",
|
||||
author: "Electronic Arts",
|
||||
execute: `%install_path%/Nuts/Binaries/Win64/ItTakesTwo.exe`,
|
||||
executable: true,
|
||||
init: ({ os_string }) => {
|
||||
if (typeof global._.bundles[os_string] === "undefined") {
|
||||
throw new Error(`OS Not supported: ${os_string}`)
|
||||
}
|
||||
|
||||
const dlBundle = global._.bundles[os_string]
|
||||
|
||||
return {
|
||||
install_steps: {
|
||||
drive_downloads: [
|
||||
{
|
||||
id: dlBundle.id,
|
||||
path: dlBundle.filename,
|
||||
extract: true,
|
||||
delete_after_extract: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
update_steps: {
|
||||
drive_downloads: [
|
||||
{
|
||||
id: dlBundle.id,
|
||||
path: dlBundle.filename,
|
||||
extract: true,
|
||||
delete_after_extract: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue