funny-repo/manifests/tailbound.manifest

58 lines
1.6 KiB
Plaintext

global._ = {
pack_id: "tailbound",
version: "1.0.0",
author: "Kitwran",
name: "Tailbound",
description: "Tailbound is a lewd & gay top-down furry hack n' slash adventure!",
icon: "https://img-opti.srkyxk.com/image?url=https%3A%2F%2Fimg.srkyxk.com%2Fimages%2F08%2F53%2Fe9acf8bdbe9be91b8cd0b52f9bcd7036c3d4&w=480&q=80",
bundles: {
"win32-x64": {
url: "https://b2-cdn.ragestudio.net/file/bundler-sg/bundles/tailbound/versions/1.0.0/bnd_win32-x64.zip",
filename: "bundle.zip",
},
}
}
module.exports = {
id: global._.pack_id,
version: global._.version,
icon: global._.icon,
name: global._.name,
description: global._.description,
author: global._.author,
executable: true,
init: ({ pack_dir, tmp_dir, os_string }) => {
// check if bundle is available for this os
if (typeof global._.bundles[os_string] === "undefined") {
throw new Error(`OS Not supported: ${os_string}`)
}
const dlBundle = global._.bundles[os_string]
const dlObject = {
path: dlBundle.filename,
url: dlBundle.url,
extract: true,
delete_after_extract: true,
progress: true,
}
const data = {
install_steps: {
http_downloads: [
dlObject
]
},
update_steps: {
http_downloads: [
dlObject
]
},
}
return data
},
execute: `%install_path%/Tailbound.exe`
}