diff --git a/src/clients/mhy/patch.ts b/src/clients/mhy/patch.ts index e3fd870..09b6333 100644 --- a/src/clients/mhy/patch.ts +++ b/src/clients/mhy/patch.ts @@ -78,7 +78,7 @@ export async function* patchProgram( // FIXME: dirty hack if ( !wine.attributes.isGamePortingToolkit && - ["hkrpg_cn", "hkrpg_os"].indexOf(server.id) === -1 + ["hkrpg_cn", "hkrpg_global"].indexOf(server.id) === -1 ) { await forceMove( join(gameDir, server.dataDir, "globalgamemanagers"), @@ -145,7 +145,7 @@ export async function* patchRevertProgram( // FIXME: dirty hack if ( !wine.attributes.isGamePortingToolkit && - ["hkrpg_cn", "hkrpg_os"].indexOf(server.id) === -1 + ["hkrpg_cn", "hkrpg_global"].indexOf(server.id) === -1 ) { await forceMove( join(gameDir, server.dataDir, "globalgamemanagers.bak"), diff --git a/src/downloadable-resource.ts b/src/downloadable-resource.ts index 26a7fd3..8a0a337 100644 --- a/src/downloadable-resource.ts +++ b/src/downloadable-resource.ts @@ -54,7 +54,7 @@ export async function* checkAndDownloadMoltenVK( const dxvkFiles = ["d3d9.dll", "d3d10core.dll", "d3d11.dll", "dxgi.dll"]; const CURRENT_DXVK_VERSION = "1.10.4-alpha.20230402"; // there is no 1.10.4! I have to make up something greater than 1.10.3 -const CURRENT_JADEITE_VERSION = "3.1.3"; +const CURRENT_JADEITE_VERSION = "3.2.0"; export async function* checkAndDownloadDXVK(aria2: Aria2): CommonUpdateProgram { if ( @@ -105,7 +105,7 @@ export async function* checkAndDownloadJadeite( await mkdirp("./jadeite"); yield ["setStateText", "DOWNLOADING_ENVIRONMENT"]; for await (const progress of aria2.doStreamingDownload({ - uri: `https://codeberg.org/mkrsym1/jadeite/releases/download/v3.1.3/v3.1.3.zip`, + uri: `https://codeberg.org/mkrsym1/jadeite/releases/download/v3.2.0/v3.2.0.zip`, absDst: resolve(`./jadeite/archive.zip`), })) { yield [