This commit is contained in:
SrGooglo 2024-03-16 05:01:23 +01:00
parent 1d5a0b39e0
commit eb36673a5f
1 changed files with 12 additions and 3 deletions

View File

@ -7,13 +7,18 @@ const vars = {
description: "FileStream API Test" description: "FileStream API Test"
} }
const rfs_files = [
"http://fr01.ragestudio.net:9000/01002DA013484000_v0"
]
module.exports = { module.exports = {
...vars, ...vars,
executable: true, executable: true,
rsb_minimun_version: "0.12.0", rsb_minimun_version: "0.12.0",
import_libs: [ import_libs: [
"ipc", "ipc",
"rfs" "rfs",
"exec",
], ],
install_steps: { install_steps: {
http_downloads: [ 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])
}
} }