diff --git a/manifests/bodycam.rmanifest b/manifests/bodycam.rmanifest new file mode 100644 index 0000000..2a2b9a0 --- /dev/null +++ b/manifests/bodycam.rmanifest @@ -0,0 +1,56 @@ +class Manifest { + static useLib = ["path", "open", "fs"] + + static id = "bodycam" + static version = "10062024-1" + static pkg_name = "BODYCAM" + static description = "BODYCAM is an ultra-realistic multiplayer first-person shooter game built using the latest technologies from the next-generation Unreal Engine 5 game engine." + static icon = "https://media.licdn.com/dms/image/D4E10AQGPJdqpqTFeHg/image-shrink_1280/0/1683072695641?e=2147483647&v=beta&t=OjmJKcysy1mWDFDMpVJVwS0a6hu3FcUZM8-yiHLFAuc" + static author = "Reissad Studio" + + static os_compatible = ["win32"] + + // needed a +v19 for torrent download + static core_minimum_version = "0.19.0" + + // static BaseMagnet = "magnet:?xt=urn:btih:GCSEWIO225M72CODR66V673I5I4HTJU6&dn=Bodycam&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce" + // static ExtractPassword = "online-fix.me" + + // installSteps = [ + // { + // type: "torrent", + // magnet: Manifest.BaseMagnet, + // path: `${install_path}/files`, + // } + // ] + + + installSteps = [ + { + type: "http_file", + url: "https://storage.ragestudio.net/gose-uploads/bycm.zip", + tmp: "true", + extract: true, + deleteAfterExtract: true, + } + ] + + updateSteps = [ + this.installSteps[0] + ] + + // afterInstall = async () => { + // const partsNames = ["Bodycam.Build.10062024-OFME.part1.rar", "Bodycam.Build.10062024-OFME.part2.rar", "Bodycam.Build.10062024-OFME.part3.rar"] + + // const part1Path = Lib.path.resolve(install_path, "files", partsNames[0]) + // const fixPath = Lib.path.resolve(install_path, "files", "Fix Repair", "Bodycam_Fix_Repair_Steam_V2_Generic.rar") + + // // extract parts + // Lib.sevenzip.extractFull(part1Path, install_path, { + // recursive: true, + // password: Manifest.ExtractPassword, + // }) + // } + + execute = Lib.path.resolve(install_path, "Bodycam.exe") +} \ No newline at end of file