This commit is contained in:
SrGooglo 2024-03-16 05:48:14 +01:00
parent 57afbe5ed0
commit 6a86a492b2
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ module.exports = {
},
execute: async (pkg) => {
await pkg.libraries.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/01002DA013484000_v0/main.nsp`])
console.log(`RFS Mounted: ${rfs_files[0]}`)
console.log(`Executing game engine...`)
await pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`-c ${pkg.install_path}/config`, `-f`, `${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`])
},
close: async (pkg) => {
await pkg.rfs.unmount(rfs_files[0])