This commit is contained in:
SrGooglo 2024-03-16 05:52:41 +01:00
parent 6a86a492b2
commit 738bbf4f2f
1 changed files with 5 additions and 5 deletions

View File

@ -31,11 +31,11 @@ module.exports = {
] ]
}, },
execute: async (pkg) => { execute: async (pkg) => {
await pkg.libraries.rfs.mount(rfs_files[0]) await pkg.libraries.rfs.mount(rfs_files[0], undefined, () => {
console.log(`RFS Mounted: ${rfs_files[0]}`) console.log(`RFS Mounted: ${rfs_files[0]}`)
console.log(`Executing game engine...`)
console.log(`Executing game engine...`) 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`])
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) => { close: async (pkg) => {
await pkg.rfs.unmount(rfs_files[0]) await pkg.rfs.unmount(rfs_files[0])