updatre
This commit is contained in:
parent
040de931db
commit
b22025798c
|
@ -115,14 +115,15 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
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(`Executing game engine...`)
|
||||
|
||||
await pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`], {
|
||||
setTimeout(() => {
|
||||
pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`], {
|
||||
shell: true
|
||||
})
|
||||
}, 2000)
|
||||
})
|
||||
},
|
||||
close: async (pkg) => {
|
||||
await pkg.rfs.unmount(rfs_files[0])
|
||||
|
@ -133,7 +134,7 @@ class YuzuConfig {
|
|||
static default = {
|
||||
"language_index": 0,
|
||||
"region_index": 0,
|
||||
"use_docked_mode": true,
|
||||
|
||||
}
|
||||
static async write(data) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue