From 1c304a49e1ce255c5a3f6c08a9c758b363b6c74c Mon Sep 17 00:00:00 2001 From: srgooglo Date: Tue, 28 Nov 2023 17:20:21 +0100 Subject: [PATCH] added new --- manifests/tailbound.manifest | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 manifests/tailbound.manifest diff --git a/manifests/tailbound.manifest b/manifests/tailbound.manifest new file mode 100644 index 0000000..5255439 --- /dev/null +++ b/manifests/tailbound.manifest @@ -0,0 +1,57 @@ +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` +}