diff --git a/manifests/zss.manifest b/manifests/zss.manifest index a0ed0a9..f86b2f2 100644 --- a/manifests/zss.manifest +++ b/manifests/zss.manifest @@ -7,13 +7,18 @@ const vars = { description: "FileStream API Test" } +const rfs_files = [ + "http://fr01.ragestudio.net:9000/01002DA013484000_v0" +] + module.exports = { ...vars, executable: true, rsb_minimun_version: "0.12.0", import_libs: [ "ipc", - "rfs" + "rfs", + "exec", ], install_steps: { http_downloads: [ @@ -25,7 +30,11 @@ module.exports = { } ] }, - execute: async () => { - + execute: async (pkg) => { + await pkg.rfs.mount(rfs_files[0]) + await pkg.libraries.exec.file(`${pkg.install_path}/yuzu-windows-msvc/yuzu-cmd.exe`, [`-c ${pkg.install_path}/config`, `-f`, `${pkg.install_path}/rfs_mount/main.nsp`]) }, + close: async (pkg) => { + await pkg.rfs.unmount(rfs_files[0]) + } } \ No newline at end of file