Skip to content

Commit

Permalink
chore: update hsr patch
Browse files Browse the repository at this point in the history
  • Loading branch information
3Shain committed Jun 19, 2024
1 parent 803e846 commit 99ec51f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/clients/mhy/patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down
4 changes: 2 additions & 2 deletions src/downloadable-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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 [
Expand Down

0 comments on commit 99ec51f

Please sign in to comment.