diff --git a/manifests/zss.manifest b/manifests/zss.manifest index 1851463..18cfc03 100644 --- a/manifests/zss.manifest +++ b/manifests/zss.manifest @@ -32,7 +32,7 @@ module.exports = { }, configs: { language: { - label: "Language", + label:"Language", type: "select", default: "en", ui_component_props: { @@ -77,7 +77,7 @@ module.exports = { } }, region: { - label: "Region", + label:"Region", type: "select", default: "0", ui_component_props: { @@ -115,13 +115,14 @@ module.exports = { } }, execute: async (pkg) => { - await pkg.libraries.rfs.mount(rfs_files[0]) - - 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`], { - shell: true + await pkg.libraries.rfs.mount(rfs_files[0], undefined, () => { + console.log(`RFS Mounted: ${rfs_files[0]}`) + console.log(`Executing game engine...`) + 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) => { @@ -133,9 +134,9 @@ class YuzuConfig { static default = { "language_index": 0, "region_index": 0, - "use_docked_mode": true, + } static async write(data) { - + } } \ No newline at end of file